We are running into a deployment issue with our web application and I am looking for any assistance into solving it.
Basically we have a web application that has its index.php stored in /public_html/ instead of / for security reasons among other reasons. The only way to our knowledge to make this work is via a symlink to the actual root, and then have a website reference the symlink app which in-turn will run the index.php within the /public_html/
The issue at first was that PHP 5.3 was not handling the php file, it was a 5.2 interpreter instead, so webfaction told us to try to specify a different interpreter via ssh and in turn all we get is error 500, with no way to diagnose the issue from there. I submitted a ticket however with no quick response I am hoping someone has experienced similar and can provide some assistance.
asked Aug 01 '11 at 14:25
The frontend error log for your site may help you with the 500 error.
Since linking to php53.cgi and adding the handler didn't work with the application outside of webapps, you may want to consider your own apache+php stack. You'd be able to specific the php version you require, and you could configure apache to serve your app without any linking, regardless of where it resides.
Please reply to our support ticket if you'd like to give this a try.
answered Aug 01 '11 at 14:53