Install php plug-in Eclipse-php Tutorial

Source: Internet
Author: User
Recently, Eclipse installed the php plug-in. to create an Android Network App, you need to build your own server and develop dynamic web pages. to improve efficiency, you need to install the php plug-in eclipse, in addition, you can directly browse the self-developed dynamic web page in eclipse without entering the localhost or other paths in the browser. now the configuration process is recorded as follows:

1. download the phpEclise plug-in

: Http://sourceforge.net/projects/phpeclipse/files/

2. decompress the downloaded phpEclise, including the features and plugins folders, and copy them to the corresponding eclipse directory.

3. enable the phpEclipse plug-in

To Window-Preferences? PHPeclipse Web Development? In PHP, specify the corresponding locations of the Apache, PHP, and mysql execution files in your php environment. As for the parameter, it seems that the default setting is acceptable. I use Apache2, after modification, start with-w-n "Apache2"-k start; stop with:-w-n "Apache2"-k stop; restart with-w-n "Apache2"-k restart

In this way, you can use the apache and mysql buttons on the toolbar.

4. link the eclipse working directory to the default directory of apche2.

Sudo ln-s develop/workspace/web_workspace/var/www this is a link method in linux. you can modify http in windows. conf configuration file, or directly set the php working directory of eclipse to the default directory of apache2.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.