How to solve the php404 error page

angryTom
Release: 2023-02-28 08:18:02
Original
7919 people have browsed it

How to solve the php404 error page

How to solve the php404 error page

This is caused by PHP not being fully installed correctly.

Simple correction method:

1. Internet Service Manager---Website (right-click)---Properties---Home Directory---Configuration---Add---Extension Named .php, click "Browse" to point the executable file to the path where php5isapi.dll is located, such as: D:\php\php5isapi.dll

2. Internet Service Manager---Web Information Manager ---Add a new web extension---Input: PHP, and then point the executable file to the path where php5isapi.dll is located---Allow

3. Copy the following code to a text file, Save it as a .bat file and run

net stop w3svc
net stop iisadmin
net start w3svc
Copy after login

4. Create a new website and create a.php in the website directory. The content is

<?
phpinfo();
?>
Copy after login

If it doesn’t work, reinstall PHP. Bar.

For more PHP related knowledge, please visit PHP Chinese website!

The above is the detailed content of How to solve the php404 error page. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template