Standard version eclipse builds the PHP environment with detailed steps _php tips

Source: Internet
Author: User

First, download the Eclipse PHP plugin

Baidu Search PHPEclipse, see a result is with SourceForge.net typeface, point in, Find Download button, click, wait 5 seconds will start downloading.

Second, install Eclipse PHP plug-in

After the plug-in download is complete, unzip and then delete the Site.xml (most plugins do not need to delete this file, but PHPEclipse must delete), and finally copy the entire folder into Eclipse's Dropins folder and restart Eclipse.

New PHP project and new PHP file in eclipse

In the case of successful plug-in installation, new projects and new files, you can see the relevant PHP options. Then write a few lines of code in the PHP file.

Download PHP's operating environment

Baidu search Xampp, in the first result, click Ordinary download.

V. Installation of PHP operating environment

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

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

Six, configure PHP's operating environment

After the successful installation, run Xampp\xampp-control.exe, in the Apache line, click Config, will pop down the box, select the third Apache (httpd-xmapp.conf), and then insert a section of the configuration as shown, The first sentence is to set an alias for this PHP project to facilitate access in the browser's address bar, the following is the location of the specified PHP project. Save it for a second.

Seven, running PHP

In the Apache line, click Start, and then see the PID (s) and port (s) appear several numbers, indicating that the startup succeeded.

When you enter http://127.0.0.1/myphp/home.php in the browser, you can see the pages that were previously written.

The above is the standard version of Eclipse to build the PHP environment detailed steps, you just follow the step-by-step operation will have their own first PHP page.

Related Article

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.