Build a PHP environment with the standard version of Eclipse

Source: Internet
Author: User
Build a PHP environment with the standard version of Eclipse

--@ Beam WP

Summary: Build a PHP environment with the standard version of Eclipse.

First, download the Eclipse PHP plugin

Baidu Search PHPEclipse, see a result is with sourceforge.net words, point in, Find Download button, click, wait 5 seconds will start to download.

Second, install the Eclipse PHP plugin

After the plugin download is complete, unzip, and then delete the Site.xml (most plugins do not delete this file, but PHPEclipse must be deleted), and finally copy the entire folder into the Dropins folder in Eclipse, restart Eclipse.

Iii. new PHP project and new PHP file in eclipse

If the plugin is installed successfully, you will see PHP-related options when creating new projects and creating new files. Then write a few lines of code in the PHP file.

Iv. Downloading the PHP operating environment

Baidu search Xampp, in the first result, click Normal Download.

V. Installation of PHP operating environment

Run the installation package and if you see a warning, you can ignore it and click OK to proceed to the next step.

Installation options, beginners simple point, all selected on it, these tomcat, MySQL all installed in the XAMPP directory, will not be mixed with their original tomcat, MySQL, do not use them on the line.

Vi. Configuring PHP's operating Environment

After successful installation, run Xampp\xampp-control.exe, in the Apache line, click Config, will pop up the dropdown box, choose the third Apache(httpd-xmapp.conf), Then insert a section of the configuration, the first sentence is to the PHP project to set an alias for easy access in the browser's address bar, the following is the location of the specified PHP project. Save it for a moment.

Seven, run PHP

On the Apache line, click Start, and then see the PID (s) and port (s) with a few numbers that indicate that the boot was successful.

In the browser input http://127.0.0.1/myphp/home.php, you can see the previously written page.

The above describes the use of the standard version of Eclipse to build PHP environment, including the contents of Apache, I hope that the PHP tutorial interested in a friend helpful.

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