issue with custom PHP
Posted by: cagg
Posted on: 2007-09-05 20:33:00
Hi!
I've followed the instructions from the Wiki page for downloading and compiling a custom version of PHP 5.2. The build seemed to run fine as a bin executable was output. But it won't work through the web server.
I've checked everything I've found on this forum or the old kb. I've set up the .htaccess file. Contents are:
AddHandler php-Five .php
Action php-Five /cgi-bin/php.cgi
I've verified the permissions on the folder are 0755 and the php.cgi executable is 0755.
I created a simple test file that calls phpinfo(). I can run it from the shell command line and it runs fine and shows no startup errors. But when I attempt to call the script from a browser I get the script source returned instead, so it seems like the Handler is not being triggered.
Can someone help?
Much thanks in advance!