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

What should I do if the php test page cannot come out?

藏色散人
藏色散人Original
2022-01-24 09:07:183790browse

Solution to the problem that the php test page cannot be displayed: 1. Check whether the APACHE server is open; 2. Modify the "Listen" in the "httpd.conf" file to 80; 3. Restart the Apache server. .

What should I do if the php test page cannot come out?

The operating environment of this article: Windows 7 system, PHP version 7.4.16, DELL G3 computer

What should I do if the php test page cannot come out? ?

Solution to the test.php test page that cannot be opened:

Check whether the APACHE server is open in the "bin" folder under the installation directory , find the apachemonier.exe file, double-click it to open,

What should I do if the php test page cannot come out?

At this time, the following icon will appear in the lower right corner of the computer, proving that the server has started successfully.

What should I do if the php test page cannot come out?

# Refresh the browser at this time to see if the test page can be displayed normally. If it still cannot be displayed, please find "httpd.conf" in the conf folder in the installation directory and open it with "Notepad".

What should I do if the php test page cannot come out?

Find the "Listen" item and see what the number behind it is. If it is not "80", please change it back to "80" and save it. . Because the default port of Apache is "80".

What should I do if the php test page cannot come out?

Restart the Apache server.

What should I do if the php test page cannot come out?

Refresh the browser now and the "test.php" test page can be displayed correctly.

What should I do if the php test page cannot come out?

Notes

Note that before testing, make sure the Apache server is turned on.

Also restart the apache server after changing the port.

Recommended learning: "PHP Video Tutorial"

The above is the detailed content of What should I do if the php test page cannot come out?. 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