Use the standard version of Eclipse to build the PHP environment, and eclipse to build php. Build a PHP environment with Eclipse of the standard edition, and use eclipse to build a php environment with Eclipse of the standard edition @ Liang WP. This article only describes how to build a PHP environment in Eclipse of the standard edition, if you are using the standard version of Eclipse to build the PHP environment, eclipse to build php
Build a PHP environment using Eclipse in the standard edition
-- @ Liang WP
This article only describes how to build a PHP environment in the standard version of Eclipse. if you are using the PHP version of Eclipse, you can skip this step. haha.
Abstract: Build a PHP environment using the standard version of Eclipse.
1. download the PHP plug-in of Eclipse
Baidu searched phpeclipse and saw a result with the words SourceForge.net. click it and find the Download button. then, the Download will start in 5 seconds.
II. install the PHP plug-in of Eclipse
After the plug-in is downloaded, decompress the package and. delete xml (most plug-ins do not need to delete this file, but PHPEclipse must delete). finally, copy the entire folder to the dropins folder of Eclipse and restart Eclipse.
3. create a PHP project and a PHP file in Eclipse
If the plug-in is successfully installed, PHP-related options are displayed when you create a project or file. Then write a few lines of code in the PHP file.
4. download the PHP runtime environment
Baidu searches for xampp. in the first result, click normal download.
5. install the PHP runtime environment
Run the installation package. if you see a warning, ignore it. Click OK to go to the next step.
The installation options are simple for beginners. you can simply select all of them. these tomcat and mysql are all installed in the xampp directory and won't confuse your original tomcat and mysql, do not use them.
6. configure the PHP runtime environment
After the installation is successful, run xampp \ xampp-control.exe, in the Apache Line, click Config, will pop up a drop-down box, select the third Apache (httpd-xmapp.conf), and then insert a piece of configuration, the first sentence is to set an alias for this PHP project to facilitate access in the address bar of the browser. The following describes the location of the PHP project. Save it.
7. run PHP
In the Apache Line, click Start, and then several numbers appear in PID (s) and Port (s), which indicates that the startup is successful.
Enter http: // 127.0.0.1/myphp/home. php in the browser to view the previously written page.
Using the standard version of Eclipse to build a PHP environment @ Liang WP this article only describes how to build a PHP environment in the standard version of Eclipse, if you are using...