Home  >  Article  >  Backend Development  >  How to open php file with browser

How to open php file with browser

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼Original
2019-09-26 13:14:518063browse

How to open php file with browser

1. The first step is to confirm whether the PHP development environment you installed is correct and enter the "www" folder of php.

How to open php file with browser

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

How to open php file with browser

Related recommendations: "php Getting Started Tutorial"

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

How to open php file with 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 open php file with 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 open php file with browser

The above is the detailed content of How to open php file with 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