This semester I learned the PHP language. Because I used to learn java by myself, I used to use the Eclipse and Myeclipse integrated development environments. So I decided to find out if I could write php code in eclipse, I had to check the internet before I knew it would have been okay. I can use Eclipse for PHP. Just configure it. Let's get started !!
1. Eclipse for PHP: http://www.eclipse.org/downloads/packages/eclipse-php-developers/heliossr1 #
The following figure is displayed:
My computer is to download and check that, according to your computer configuration to select the appropriate version
Download and decompress this to your own JAVA_HOME (required, here I will not explain the knowledge of JAVA_HOME For details, please refer to: http://blog.csdn.net/majianjie/article/details/20851593 folder, decompress, open eclipse.exe, will ask you workplace directory, change it to the directory under your php www (I created the eclipse-php-helios-SR1-win32 directory here, so that all the files will be put here), and then you can create a project, then, when creating the PHP file,
After the file is created, configure window> preferences> php> PHPServers> SELECT> Edit>
Click OK
Configure the project, right-click the project, and choose run as> configuration> Add the directory you created. OK.