Home  >  Article  >  Backend Development  >  What should I do if eclipse cannot run php files?

What should I do if eclipse cannot run php files?

coldplay.xixi
coldplay.xixiOriginal
2020-09-29 11:32:443064browse

The solution to the problem that eclipse cannot run php files: first download PHPEclipse and unzip it; then copy [site.xml] to the root directory of Eclipse and restart Eclipse; finally add a PHP view in Eclipse.

What should I do if eclipse cannot run php files?

eclipse cannot run the php file solution:

1. Step 1: Search PHPEclipse on Baidu and click "PHPEclipse" enters the official webpage of PHPEclipse.

What should I do if eclipse cannot run php files?

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

What should I do if eclipse cannot run php files?

3. What is downloaded here is the PHPEclipse-1.2.3.200910091456PRD-bin.zip compressed file. After decompression, it is found that the contents include: two folders features and plugins , an xml file site.xml.

What should I do if eclipse cannot run php files?

4. 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).

5. As shown in the figure, select "Window>>Open Perspective>>Other..." in order to open the view selection window.

What should I do if eclipse cannot run php files?

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

What should I do if eclipse cannot run php files?

7. 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.

What should I do if eclipse cannot run php files?

If you want to learn more about programming, please pay attention to the

php training column!

The above is the detailed content of What should I do if eclipse cannot run php files?. 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