Step: 1,JDK Tool Installation
2,php Environment Construction
3,eclipse for PHP Download installation
4,eclipse for PHP development environment configuration
JDK Tool Installation
1). Eclipse relies on the Java environment, so the first step must be to install the JDK tool, no side eclipse can not open the run.
2). Open the Oracle website JDK download page: http://www.oracle.com/technetwork/java/javase/downloads/index.html
3). Download the 32-bit or 64-bit JDK for the operating system
4). Install the downloaded JDK configuration environment variable, first locate the directory path where the JDK is installed, and then Right click on "Computer" select "Properties" and then select "Advanced System Settings" on the left "advanced" tab above, click on the "Environment variables" button in the lower right corner. Click New, copy the%java_home%\bin, and then create a new copy of the %java_home%\jre\bin below, and the JAVA environment variable configuration is complete after the JDK is installed.
-
php Environment Build
1). Install the PHP environment Bundle, the so-called package is the Apache, PHP, MySQL and other server software tools after the installation of the package processing, here I use the Appserv combo package.
2). Appserv Combo pack: https://www.appserv.org/en/
3). Install the downloaded Appserv
3. Eclipse for PHP installation
1). Eclipse Website: HTTP://WWW.ECLIPSE.ORG/DOWNLOADS/PACKAGES/ECLIPSE-PHP-DEVELOPERS/HELIOSR
2). Select the 32-bit or 64-bit download for the operating system
3). Unzip to open use
4. Configuration of the Eclipse for PHP development environment
1). Open eclipse->window->preferences->php:
Name Enter names
Executable Path: Enter the installation path for the Php.exe
PHP INI file input php.ini files path
2). PHP servers->new Input http://localhost
If you change the port number when installing Appserv, you need to add the port number.
Now that all the work that needs to be done has been done, create a new PHP page test and enter the page
<?php
Echo Phpinfo ();
?>
Then run can display Phpinfo page that means the PHP environment is set up, you can start a pleasant trip to PHP.
This article is from the "My Learning Record" blog, so be sure to keep this source http://aurogon.blog.51cto.com/6727754/1956910
Eclipse for PHP Development Environment Setup (WINDOWS10)