문제

I have a PHP application running on Google App Engine, who has the ability to run PHP on GAE via Quercus. However, I notice that my scripts choke on GAE when they run an is_dir() or is_file() function. These functions work just fine on a "regular" PHP server.

According to the link I gave above above, I have configured my application correctly, as all else works just fine. What could be the cause of this sticking point? Is it a GAE configuration, or does Quercus not support these functions?

Thank you for your time.

도움이 되었습니까?

해결책

The local disk limitations are part of the Google App Engine restrictions, see Why can't I read from this file?

It is possible to read from a file which is uploaded as part of your application provided that it is in the following locations:

  • war/WEB-INF
  • in a location matching the pattern in appengine-web.xml (which by default includes everything)
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top