First, download the Eclipse PHP plugin
Baidu Search PHPEclipse, see a result is with SourceForge.net typeface, point in, Find Download button, click, wait 5 seconds will start downloading.
Second, install Eclipse PHP plug-in
After the plug-in download is complete, unzip and then delete the Site.xml (most plugins do not need to delete this file, but PHPEclipse must delete), and finally copy the entire folder into Eclipse's Dropins folder and restart Eclipse.
New PHP project and new PHP file in eclipse
In the case of successful plug-in installation, new projects and new files, you can see the relevant PHP options. Then write a few lines of code in the PHP file.
Download PHP's operating environment
Baidu search Xampp, in the first result, click Ordinary download.
V. Installation of PHP operating environment
Run the installation package, if you see a warning, you can ignore, click OK to go to the next step.
Installation options, beginners simple point, all selected on it, these tomcat, MySQL all installed in the XAMPP directory, not to their original tomcat, MySQL confused, do not use them on the line.
Six, configure PHP's operating environment
After the successful installation, run Xampp\xampp-control.exe, in the Apache line, click Config, will pop down the box, select the third Apache (httpd-xmapp.conf), and then insert a section of the configuration as shown, The first sentence is to set an alias for this PHP project to facilitate access in the browser's address bar, the following is the location of the specified PHP project. Save it for a second.
Seven, running PHP
In the Apache line, click Start, and then see the PID (s) and port (s) appear several numbers, indicating that the startup succeeded.
When you enter http://127.0.0.1/myphp/home.php in the browser, you can see the pages that were previously written.
The above is the standard version of Eclipse to build the PHP environment detailed steps, you just follow the step-by-step operation will have their own first PHP page.