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