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

How to view php files using a browser

(*-*)浩
Release: 2023-02-23 15:32:01
Original
11905 people have browsed it

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!

Related labels:
php
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template