Home > Article > Backend Development > 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.
2. Then open Start->All Programs->AppServ->Control Server by Manual->Apache start.
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.
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 open php file with browser. For more information, please follow other related articles on the PHP Chinese website!