Home >Backend Development >PHP Problem >How to view php files using a browser

How to view php files using a browser

(*-*)浩
(*-*)浩Original
2019-09-04 10:34:3011881browse

How to view php files using a browser

#The first step is to confirm whether the PHP development environment you installed is correct and enter the "www" folder of php. (Recommended learning: PHP video tutorial)

How to view php files using a browser

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

How to view php files using a browser

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

How to view php files using a browser

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

How to view php files using a browser

Enter in the browser: localhost:8080/1.php, you can find that the location corresponding to localhost:8080 is the "WWW" file, that is, you can successfully use ie The browser opened the php file.

How to view php files using a browser

The above is the detailed content of How to view php files using a 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
Previous article:How to download phpstudyNext article:How to download phpstudy