Home >Backend Development >PHP Problem >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)
Then open Start->All Programs->AppServ-> Control Server by Manual->Apache start.
After manually opening the Apache server, enter: localhost:8080 in the browser to see if the web page can be opened normally.
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.
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.
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!