Build PHP environment with standard version of Eclipse, Eclipse builds php_php tutorial

Source: Internet
Author: User

Build a PHP environment with the standard version of Eclipse, and Eclipse builds PHP


Build a PHP environment with the standard version of Eclipse

--@ Beam WP

Preface: This article only introduces the standard version of Eclipse to build PHP environment, if you are using PHP version of Eclipse, then you can skip, haha.

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

PHP-related options are available when you create a new project and create a new file, even if the plugin is successfully installed. 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 the installation is successful, run Xampp\xampp-control.exe, on the Apache line, click Config, the drop-down box will pop up, select the third Apache (httpd-xmapp.conf), and then insert a configuration, The first sentence is to the PHP project to set an alias, convenient in the browser's address bar access, 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.

http://www.bkjia.com/PHPjc/1072321.html www.bkjia.com true http://www.bkjia.com/PHPjc/1072321.html techarticle build PHP environment with standard version of Eclipse, Eclipse build PHP with standard version of Eclipse build PHP environment @ beam WP Preface: This article only introduces the standard version of Eclipse build PHP environment, if you are using ...

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