Home  >  Article  >  Backend Development  >  How to display php files in the browser

How to display php files in the browser

尚
Original
2019-10-28 10:30:576272browse

How to display php files in the browser

Recommended: php server

1. First, confirm whether the PHP development environment you installed is correct, enter the "www" of php "folder.

How to display php files in the browser

2. Then open Start->All Programs->AppServ->Control Server by Manual->Apache start.

How to display php files in the browser

#3. After manually opening the Apache server, enter: localhost:8080 in the browser to see if the web page can be opened normally.

How to display php files in the browser

4. The entered URL opened a website, but the name of this website was found in the "WWW" file in the first step. Are the two files the same? Yes, use DW software to open the index.php file in the "WWW" file.

How to display php files in the browser

5. Enter: localhost:8080/1.php in the browser. You can find that the location corresponding to localhost:8080 is the "WWW" file, which means you can successfully browse it with IE. The php file was opened by the server.

How to display php files in the browser

The above is the detailed content of How to display php files in the browser. 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