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.
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:
Open the php file information as shown below:
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!