Build a PHP environment with the standard version of Eclipse
--@ Beam WP
Summary: Build a PHP environment with the standard version of Eclipse.
First, download the Eclipse PHP plugin
Baidu Search PHPEclipse, see a result is with sourceforge.net words, point in, Find Download button, click, wait 5 seconds will start to download.
Second, install the Eclipse PHP plugin
After the plugin download is complete, unzip, and then delete the Site.xml (most plugins do not delete this file, but PHPEclipse must be deleted), and finally copy the entire folder into the Dropins folder in Eclipse, restart Eclipse.
Iii. new PHP project and new PHP file in eclipse
If the plugin is installed successfully, you will see PHP-related options when creating new projects and creating new files. Then write a few lines of code in the PHP file.
Iv. Downloading the PHP operating environment
Baidu search Xampp, in the first result, click Normal Download.
V. Installation of PHP operating environment
Run the installation package and if you see a warning, you can ignore it and click OK to proceed to the next step.
Installation options, beginners simple point, all selected on it, these tomcat, MySQL all installed in the XAMPP directory, will not be mixed with their original tomcat, MySQL, do not use them on the line.
Vi. Configuring PHP's operating Environment
After successful installation, run Xampp\xampp-control.exe, in the Apache line, click Config, will pop up the dropdown box, choose the third Apache(httpd-xmapp.conf), Then insert a section of the configuration, the first sentence is to the PHP project to set an alias for easy access in the browser's address bar, the following is the location of the specified PHP project. Save it for a moment.
Seven, run PHP
On the Apache line, click Start, and then see the PID (s) and port (s) with a few numbers that indicate that the boot was successful.
In the browser input http://127.0.0.1/myphp/home.php, you can see the previously written page.
The above describes the use of the standard version of Eclipse to build PHP environment, including the contents of Apache, I hope that the PHP tutorial interested in a friend helpful.