How to install the php development environment in eclipse?
eclipse for php development environment configuration
PHP has many very good development tools, such as Zend Studio, NetBeans, phpdesigner, etc., but for those who are used to Java For programmers, the most commonly used one introduced below is Eclipse.
> We configure eclipse php under wmap, pay attention to installing the wmap environment
Download and install
eclispe official address
https://www.eclipse.org/downloads/
phpeclispe download address:
https://www. eclipse.org/downloads/eclipse-packages/
Select php'
3. Get the installation package and directly Just unzip it to your software directory. Double-click eclipse runtime
Start configuration
Right-click the package manager to create a new php project
2. Create the project file in the next step by default, and create it as follows
3. Configure local php Add your php environment under the executor menu bar>windows>prefermerces. What I rotate here is the php environment that comes with wamp, but I don’t know why. After selecting the php environment I created, the new
is created. It is still the information of version 7.2 that comes with it.
4. Create 1.php file and test it
zHere you choose to display the results directly through php cli
5. Execute in the web browser, eclipse defaults to the local address: http://localhost/test1/1.php
There is another problem: the new project must be the path in the environment configured under apche in wamp. By default the www directory, other directories are up to you.
The above is the detailed content of How to install php development environment in eclipse. For more information, please follow other related articles on the PHP Chinese website!