Build a PHP environment in Windows: Apache + PHP + MySQL and apachemysql
Because you often need to re-build the PHP environment after changing the computer or reinstalling the system, this time a simple record of the process of building the PHP environment in Windows, the specific steps can refer to the online information
Preparations:
To manually build a PHP environment in Windows, you must first download the corresponding software. Note that the Apache and PHP versions must be consistent (both 32-bit and 64-bit ), if the version is inconsistent, the integration of Apache and PHP fails. That is, after the configuration file is modified, Apache is started and the following error is reported:
In fact, there are detailed details on http://windows.php.net/download/. the reader can select the desired version for the corresponding version.
The software version downloaded by the author is shown in:
Installation Process:
1. install Apache
Double-click installation, which is no different from installing other Windows Software
Modify Apache site directory
(3) modify the php configuration file, set the directory of the PHP extension package, enable the corresponding library function, and set the time zone.
V. Test
Create the index. php file under the Apache site directory configured above. The code in index. php is as follows:
<?php phpinfo();?>
Enter http: // localhost/in the address bar of the browser. If the PHP version information is displayed on the page, the integration of Apache and PHP is successful.
PHP development tools
The above briefly describes how to build a PHP environment. As a PHP developer, you must have a proper development tool. There are a variety of powerful PHP development tools available on the market. Some development tools are introduced at http://www.downcc.com/k/phpkaifa/and the following are the two PHP development
(1) Zend Studio
The software for paid software, can be free trial, the method can refer to the http://www.imuum.com/zend-studio12-0-2-key-cracked-registration-key-download.html cracking
My local installation version: Zend Studio12.0.1
Workspace:
Project Overview:
Access address: http: // localhost/Zend-workspaces/test/index. php
(2) EclipsePHP Studio
My local installation version: EclipsePHP Studio 4.0
Workspace:
Project Overview:
Access address: http: // localhost/EPP-workspaces/test/application/index. php
The preceding installation requires manual installation of various software. In fact, many integrated environments can simplify these operations.
References:
Http://www.cnblogs.com/pharen/archive/2012/02/06/2340628.html