standk
5th August 2006, 07:29
Hello,
I am running ubuntu and am having an issue with running PHP4 as a CGI next to mod_php5. I followed the instructions here (http://www.howtoforge.com/apache2_with_php5_and_php4_p2) but receive this error when trying to run an info.php4 file:
[error] File does not exist: /home/user/public_html/cgi-bin/php4
The file is located at /home/user/public_html/info.php4
These are the two lines I am using:
AddHandler php-script .php4
Action php-script /cgi-bin/php4
If I change the Action, whatever change I make is just added to the end of the error message.
I am running ubuntu and am having an issue with running PHP4 as a CGI next to mod_php5. I followed the instructions here (http://www.howtoforge.com/apache2_with_php5_and_php4_p2) but receive this error when trying to run an info.php4 file:
[error] File does not exist: /home/user/public_html/cgi-bin/php4
The file is located at /home/user/public_html/info.php4
These are the two lines I am using:
AddHandler php-script .php4
Action php-script /cgi-bin/php4
If I change the Action, whatever change I make is just added to the end of the error message.