Home >Backend Development >PHP Problem >How to browse php files

How to browse php files

藏色散人
藏色散人Original
2019-11-07 10:03:553638browse

How to browse php files

How to browse php files?

As shown in the picture, for example, if a new PHP file is created, how should I open the PHP file?

How to browse php files

#The method is very simple, just right-click the mouse and use the notebook open method.

How to browse php files

In this way, you can directly open the PHP file, and then start writing your own PHP code to test.

How to browse php files

Of course, you can also choose the sublime opening method, provided that your computer has sublime installed. If not, install one yourself.

How to browse php files

But if you need to run PHP files, you need to install xampp integration software (Address: https://www.php.cn/xiazai/gongju/91), and then start it, (start) means to start.

How to browse php files

Then put the file in the htdocs folder in the installation directory. My installation directory is the myservice folder in the f drive.

How to browse php files

After that, open the browser window and enter localhost/ and the name of the PHP file to run it. It is very simple.

How to browse php files

The above is the detailed content of How to browse php files. 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 play php filesNext article:How to play php files