Home  >  Article  >  Backend Development  >  What should I do if I can’t open the php file?

What should I do if I can’t open the php file?

藏色散人
藏色散人Original
2020-11-25 09:20:434816browse

The solution to the inability to open the php file: first download the appser integrated installation package; then put the php file in the www directory after appser is installed; finally enter the URL in the browser as "http:// 127.0.0.1/php file name to run" to open.

What should I do if I can’t open the php file?

The operating environment of this tutorial: Windows 7 system, PHP version 5.6. This method is suitable for all brands of computers.

Recommended: "PHP Video Tutorial"

Commonly used tools for opening PHP

1.Dreamweaver;

2.EclipsePHP ;

3.editplus ;

4.zend studio This is the official default editor of PHP;

5.Notepad can also be opened directly, As shown in the picture:

What should I do if I can’t open the php file?

Open the php file information as shown below:

What should I do if I can’t open the php file?

Platform for running php files

Open the php file using any of the software mentioned above, but if you want to run the php file, you need to use the php running platform. Below I will teach you how to quickly build a php integrated environment. Bar;

1. Download the appser integrated installation package;

2. After downloading the software, install it and put the php file in the www directory after appser is installed;

3. To run, enter http://127.0.0.1/the name of the php file to be run in the browser;

The above is the detailed content of What should I do if I can’t open the php file?. 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