I have finished my web in linux+apache+php3, i put index.htm and display.php into /usr/local/apache/htdocs, when i run index.htm,it's ok,but when i run display.php ,it can't run, why?
Maybe you have to change the extension of your display-file to display.php3 or display.php4. What happens if you try to run display.php?
Make sure you added the following lines to your httpd.conf file:
AddType application/x-httpd-php3 .php AddType application/x-httpd-php3 .php3 AddType application/x-httpd-php3-source .phps
yes,i received a message: Fatal error: Failed opening required '/usr/local/apache/php/prepend.php3' in /usr/local/apache/htdocs/display.php on line 0. so what mean fot this?
yes, i have added them into httpd.conf, but there is a little different: I added a 'ADDtype Application/x-httpd-php3.phtml',not '...php3.php3',are there any problem ? thanks.