windows>prefermerces"; finally, add the PHP environment to it."/> windows>prefermerces"; finally, add the PHP environment to it.">

Home  >  Article  >  Backend Development  >  How to install php development environment in eclipse

How to install php development environment in eclipse

藏色散人
藏色散人Original
2019-11-18 17:26:413820browse

How to install php development environment in eclipse

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'

How to install php development environment in eclipse

3. Get the installation package and directly Just unzip it to your software directory. Double-click eclipse runtime

How to install php development environment in eclipse

Start configuration

Right-click the package manager to create a new php project

How to install php development environment in eclipse

2. Create the project file in the next step by default, and create it as follows

How to install php development environment in eclipse

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.

How to install php development environment in eclipse

4. Create 1.php file and test it

zHere you choose to display the results directly through php cli

How to install php development environment in eclipse

How to install php development environment in eclipse 5. Execute in the web browser, eclipse defaults to the local address: http://localhost/test1/1.php

How to install php development environment in eclipse

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn