Tutorial on how to install php plug-in in eclipse

小云云
Release: 2023-03-17 11:42:01
Original
1607 people have browsed it

PHPeclipse plug-in includes functions such as: PHP syntax analysis, debugging, code formatting, outline view, code template customization, etc. If you want to make some java and php web applications at the same time, you need to use Eclipse. You can install PHPeclipse and MyEclipse, so that Eclipse can develop ajax, php, and jsp programs at the same time. Install Apache, Tomcat and php, Mysql and Eclipse plug-ins (Eclipse + MyEclipse + Phpeclipse)

PHPEclipse installation

Search PHPEclipse on Baidu and click "PHPEclipse" to enter the official website of PHPEclipse Web page.

Click "Getting PHPEclipse>>Binary&Source>> 1.2.3 Binary Download" on the right side of the page to jump to the PHPEclipse download page, select the location to save the downloaded file, and start downloading.

Copy the contents of features and plugins to the corresponding folder of Eclipse, and copy site.xml to the root directory of Eclipse. Then start Eclipse (if Eclipse is already started, restart Eclipse to make the newly added files take effect).

Select "Window>>Open Perspective>>Other..." in turn to open the view selection window.

In the "Open Perspective" (view selection) window, find the "PHP" option and double-click it to add a PHP view in Eclipse.

After the addition is successful, you will see the "PHP" view option in the upper right corner of Eclipse. Click the button to switch Eclipse to the PHP view.

Select "Window>>Preferences" in Eclipse, and click "PHPeclipse>>PHP External Tools" from the left menu bar of the pop-up Preferences window to modify the PHP configuration information. At the same time, we found that "PHP External Tools" contains three submenus: Apache, MySQL, and XAMPP, which are used to set the configuration information of Apache, MySQL, and XAMPP.

Click the "Apache" submenu to modify the Apache configuration information. Change the Apache path to the local installation path. The modified sample is as shown in the figure, the specific value is subject to your own computer.

Modify MySQL configuration information, the specific value is based on your own computer.

Modify XAMPP configuration information, the specific value is based on your own computer. After modification, click "OK" to save the modifications.

The above content is the introduction of PHPeclipse and the installation method of PHPeclipse, as well as how eclipse installs the php plug-in. For more related questions, you can pay attention to the PHP Chinese website.

Related recommendations:

eclipse regarding struts2 integration hibernate issues

Eclipse PHPEclipse specific configuration method

Detailed explanation of PHPEclipse configuration in Eclipse

How to connect mysql database through jdbc in eclipse

The above is the detailed content of Tutorial on how to install php plug-in in eclipse. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!