Eclipse Install PHP Plugin

Source: Internet
Author: User
Recently, due to the need to make an Android web app, you need to build a server, and develop dynamic Web pages, in order to improve efficiency, you install PHP plug-ins in eclipse, and can directly in eclipse to browse their own development of dynamic Web pages, Instead of having to enter a path such as localhost in the browser, the entire configuration process is now logged as follows:

1. Download the Phpeclise plugin

Download Address: http://sourceforge.net/projects/phpeclipse/files/

2. Unzip the downloaded Phpeclise, including features and plugins two folders, and copy them to your eclipse's corresponding directory.

3. Enable the PHPEclipse plugin

To Window-preferences? PHPEclipse Web Development? PHP Specify in your PHP environment apache,php,mysql three execution files corresponding location, as the parameters seem to default on it, I use Apache2, modified a bit, start with:-w-n "Apache2"-start; stop using:-w-n " Apache2 "-K stop; re-enable-w-n" Apache2 "-restart

So the few Apache and MySQL buttons on the toolbar will work.

4. Link Eclipse working directory to apche2 default directory

sudo ln-s develop/workspace/web_workspace/var/www This is the link method under Linux, You can modify the http.conf configuration file under Windows, or set the PHP working directory for Eclipse directly 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.