Home >Backend Development >PHP Problem >How to install php development environment in eclipse
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.
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!
PHP
option in windows-preference
, which means php The plug-in has been installed successfully. PHP Server
, still as shown in the picture above# In ##windows-preference, select
PHP for configuration.
[PS]: Create PHP Project before no modification
After modification:
2. After writing the test.html code for the test, how to run it?
This is not possible, you still need to configure it
# # 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:
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!
Firefox browser:
OpenFile->Settings
Create a server name yourself
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!