Solution for php unable to find this page: First decompress the PHP file to "C:\PHP"; then add the statement "ScriptAlias /php4/" to the Apache configuration file "http.conf" "c:/php/"" is enough.
#After configuring php, "Webpage cannot be found" is displayed when browsing?
Solution:
It is recommended to install the apache_1.3.27 server!
Configuration process of PHP4.0 under Apache server:
(1) Extract the PHP files to C:\PHP
(2) Decompress C:\PHP Copy the php.ini-dist file in the directory to C:\WINNT and rename it to php.ini
(3) Add:
ScriptAlias / to the Apache configuration file http.conf php4/ "c:/php/"
Action application/x-httpd-php4 "/php4/php.exe"
Addtype application/x-httpd-php4 .php
For more related knowledge, please visit PHP Chinese website!
The above is the detailed content of What should I do if php cannot find the page?. For more information, please follow other related articles on the PHP Chinese website!