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

How to install php development environment in eclipse

藏色散人
藏色散人Original
2021-11-10 09:06:344267browse

How to install the PHP development environment in eclipse: 1. Select Install New Software in help; 2. Download and install the PHP plug-in; 3. Configure the PHP Server; 4. Perform PHP development on eclipse.

How to install php development environment in eclipse

The operating environment of this article: windows7 system, Eclipse IDE 2020-06 R version, DELL G3 computer

How to install eclipse for php development environment?

eclipse configures php development environment

Note: Development using PHPStorm is much simpler. If you insist on using eclipse, look below. Otherwise, Just look at the end of the article on how to configure the php development environment on PHPStorm!

1. Download and install the php plug-in

  1. Select Install New Software in help
    How to install php development environment in eclipse
    How to install php development environment in eclipseI won’t do it since I have already installed it Specifically demonstrates that after the
  2. php plug-in is installed successfully, eclipse should restart. After restarting, you can see the PHP option in windows-preference, which means php The plug-in has been installed successfully.
    How to install php development environment in eclipse

2. PHP development on eclipse

  1. ConfigurationPHP Server, still as shown in the picture above# In ##windows-preference, select PHP for configuration.
    How to install php development environment in eclipse
If you do not set up PHP Debuger, just click finish.


How to install php development environment in eclipse
How to install php development environment in eclipse
How to install php development environment in eclipse [PS]: Create PHP Project before no modification

How to install php development environment in eclipse
How to install php development environment in eclipse After modification:

How to install php development environment in eclipse
How to install php development environment in eclipse 2. After writing the test.html code for the test, how to run it?

How to install php development environment in eclipse This is not possible, you still need to configure it

How to install php development environment in eclipse
How to install php development environment in eclipse
How to install php development environment in eclipse
How to install php development environment in eclipse
# # After the setting is successful, just confirm the application step by step. After the creation is successful, the Server file will be created under the eclipse workspace: How to install php development environment in eclipse

How to install php development environment in eclipse
How to install php development environment in eclipse
How to install php development environment in eclipse

If you think the browser opened in eclipse is ugly, you can make the following settings. Whichever browser you want to use to open it can be directly changed to whichever one is OK.

How to install php development environment in eclipse
How to install php development environment in eclipse
How to install php development environment in eclipse
Okay, after the above configuration, is it much simpler to change the default opening method every time?
Come, let’s take a look at the test results!
How to install php development environment in eclipse
How to install php development environment in eclipse
Firefox browser:
How to install php development environment in eclipse

The development environment for the php environment on eclipse is now set up. If you find it troublesome, It is recommended to download a PHPStorm directly and only need to configure two places.

OpenFile->Settings
How to install php development environment in eclipse
Create a server name yourself
How to install php development environment in eclipse
How to install php development environment in eclipse
How to install php development environment in eclipse
Now the PHPStorm development environment is set up. Is it much more convenient than eclipse?

Recommended learning: "PHP Video Tutorial"

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