Build PHP environment under Windows: Apache+php+mysql

Source: Internet
Author: User
Tags zend

Because of changing the computer or reinstall the system often need to re-build PHP environment, this simple record of Windows under the process of building PHP environment, specific steps can refer to the online information

Preparatory work:

Manual PHP Environment under Windows needs to download the appropriate software, the software version of this download is as follows:

Installation process:

First, install Apache

Double-click Install, no difference from installing other Windows software

There is no special requirement when filling the server infomation, as long as the information entered conforms to the format

After the installation is complete, in the browser input http://localhost, if the IT works! is displayed, the Apache installation is successful.

Second, install PHP

Unzip the php-5.3.10-win32-vc9-x86.zip to a directory, the author's installation directory is: D:\Software\PHP

Third, install MySQL, Mysql-front

Iv. Integration of Apache+php+mysql

(1) Allow Apache to parse PHP files

(2) modifying the Apache Site Directory

(3) Modify the PHP configuration file, set the specific directory of PHP expansion pack, open the corresponding library function, set the time zone

V. Testing

In the aforementioned configuration of the Apache site directory under the new index.php file, the code in index.php is as follows:

<? PHP     Phpinfo ();? >

Enter http://localhost/in the browser address bar, if the page displays PHP version information, the integration of Apache and PHP is successful

PHP Development Tools

The previous simple description of the PHP environment, as PHP developers must have a suitable development tool, the market has a variety of powerful PHP development tools, http://www.downcc.com/k/phpkaifa/introduced a number of development tools, The following are the two types of PHP development tools that I use

(1) Zend Studio

This software for the fee software, can be free trial, the method can be referenced http://www.imuum.com/zend-studio12-0-2-key-cracked-registration-key-download.html

Author of this machine installed version: Zend Studio12.0.1

Working space:

Project Overview:

Access Address: http://localhost/Zend-workspaces/test/index.php

(2) eclipsephp Studio

Author Native installation version: eclipsephp Studio 4.0

Working space:

Project Overview:

Access Address: http://localhost/EPP-workspaces/test/application/index.php

The above installation requires manual installation of various software, in fact, there are many integrated environment can simplify these operations

Resources:

Http://www.cnblogs.com/pharen/archive/2012/02/06/2340628.html

Build PHP environment under Windows: Apache+php+mysql

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.