PHP development environment setup tutorial (Apache + PHP + MySQL) and apachemysql in Windows. PHP Development Environment building tutorial in Windows (Apache + PHP + MySQL), apachemysql often needs to re-build the PHP environment after changing the computer or reinstalling the system, this is a simple record of how to set up a PHP environment in a Windows environment (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
When you enter Server Infomation, there are no special rules as long as the entered information conforms to the format.
After the installation is complete, enter http: // localhost in the browser. if It Works is displayed !, Indicates that Apache is successfully installed.
2. install PHP
Unzip php-5.3.10-win32-vc9-x86.zip to a directory. the installation directory is D: \ Software \ PHP.
3. install MySQL and MySQL-Front
4. integrate Apache + PHP + MySQL
(1) Apache can parse php files
(2) modify the 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.
5. test
Create the index. php file under the Apache Site Directory configured above. the code in index. php is as follows:
The code 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.
Reference: Build a PHP development environment in Windows (Apache + PHP + MySQL)
The above is all the content of this article. I hope it will help you learn php programming.
Runtime (Apache + PHP + MySQL) and apachemysql often need to re-build the PHP environment after changing the computer or reinstalling the system. this is a simple record of setting up the PHP environment in Windows...