Home >Backend Development >PHP Problem >What should I do if php cannot find the page?

What should I do if php cannot find the page?

藏色散人
藏色散人Original
2020-07-07 09:26:043670browse

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.

What should I do if php cannot find the page?

#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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn