Recommended:php server
1. First, confirm whether the PHP development environment you installed is correct, enter the "www" of php "folder.
2. Then open Start->All Programs->AppServ->Control Server by Manual->Apache start.
#3. After manually opening the Apache server, enter: localhost:8080 in the browser to see if the web page can be opened normally.
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.
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.
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!