Custom PHP Install Issue
Posted by: welshman
Posted on: 2009-01-11 07:05:00
I have followed the instructions to compile a custom install of PHP from the wiki, all looks fine when I run ./php-config -v in a shell.
However I have problems when viewing through a browser.
I have added a .htaccess file to my domain root:
If I add:
Action application/x-httpd-php5 /cgi-bin/php.cgi
AddType application/x-httpd-php5 .php
The sites ignores this and continues to run the default PHP install
If I add:
AddHandler php-cgi .php
Action php-cgi /cgi-bin/php.cgi
I get a 500 internal server error.
Anyone experienced similar problems or know if I can view the server error logs for the 500 server error.
Thanks