I am facing few errors trying to run WordPress on php app-engine on Ubuntu.
The instructions mention using
dev_appserver.py -R
, but-R
is an invalid argument?The server starts well (I was able to run helloworld successfully) but on visiting, I get the following error:
ERROR:root:php failure (255) with: X-Powered-By: PHP/5.4.15 Content-type: text/html <br /> <b>Warning</b>: chdir(): No such file or directory (errno 2) in <b>/home/ubuntu/google_appengine/google/appengine/tools/devappserver2/php/setup.php</b> on line <b>12</b><br /> <br /> <b>Warning</b>: require(wordpress/index.php): failed to open stream: No such file or directory in <b>/home/ubuntu/google_appengine/google/appengine/tools/devappserver2/php/setup.php</b> on line <b>45</b><br /> <br /> <b>Fatal error</b>: require(): Failed opening required 'wordpress/index.php' (include_path='/home/ubuntu/wordpress:/home/ubuntu/google_appengine/php/sdk') in <b>/home/ubuntu/google_appengine/google/appengine/tools/devappserver2/php/setup.php</b> on line <b>45</b><br />
Looking further into this in google/appengine/tools/devappserver2/php/setup.php line 11, $actualPath = stream_resolve_include_path($relativePath);
, the $relativePath
is wordpress
and the $actualPath
received is an empty string which seems to be causing this issue.