View Single Post
  #1  
Old 6th June 2006, 22:22
Handyman Handyman is offline
Junior Member
 
Join Date: Jun 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default php4 as CGI and php5 as Apache2

I followed the tutorial fond here: http://www.howtoforge.com/apache2_with_php5_and_php4 and now when I created the pages phpinfo.php and phpinfo.php4
the phpinfo.php page shows php5 as the php version and when I go to phpinfo.php4, it gives me a error 404
"/cgi-bin/php4/phpinfo.php4 File Not Found!"

I've tried putting php5 as the cgi version by installing php5-cgi and changing the line found in apache2.conf and when I go to phpinfo.php5, it shows up as test
"<?php
phpinfo();
?>"

Anybody know what I'm doing wrong?

Thanks
Reply With Quote
Sponsored Links