[]windows 7 Fast Build PHP environment (WINDOWS7+IIS7+PHP+MYSQL)

Source: Internet
Author: User
Tags install php zend

Repost: http://apps.hi.baidu.com/share/detail/10406992

(1), the reasons for use:

Advantages: Maximized Desktop graphical operating system, maintainability is excellent. Based on IIS v6.0/v7.0 (2008), the script that can be supported is quite complete, not only support the asp/asp.net that Linux can't support, but also install PHP, MySQL, Zend to implement PHP environment. At the same time, using Serv-u can realize FTP management. It is easy to operate without having to type any command to implement an all-purpose host.

Cons: Because genuine Windows is expensive, Windows 2003 Chinese Enterprise Edition is generally priced at 19000-30000,

The Chinese version of Windows 2008 is in 20000-25000. If the installation of MSSQL, the price should be doubled

Success story: Microsoft corporate server cluster

(2), operation steps:

Description: Because the installation of Windows 2008 cannot be implemented in a virtual machine, the primary memory is not large enough. So using Windows 7 instead of Windows 2008, using the IIS V7.0+php+mysql+ze nd to build an operating environment.

1. Install IIS v7.0

Control Panel-Programs and features-turn Windows features on or off

Test whether IIS v7.0 is installed successfully, in Browser input: http://localhost/or HTTP://127.0.0.1/

A successful installation of IIS v7.0 appears as described on the interface

New site: (default site used as asp/asp.net/, start port 8080, i.e. access using http://localhost:8080/)

2. Configuring the PHP Environment

Use PHP v5.2.5. Download PHP v5.2.5 and unzip to G:\php

In IIS, do the following:

To add an ISAPI filter:

To add a script map:

To add an application pool:

Change the site application pool and add the default document index.php:

Modify the G:/php/php.ini-list file name to php.ini, copy to f:/windows/(dual system, Win7 Drive), modify php.ini: Enable it to support gd,mysql, etc.

To modify the Extension_dir directory:

Create a new index.php in the default directory

Enter http://127.0.0.1:8080/Verify if PHP was installed successfully:

3. Add MySQL Database:

Use MySQL v5.1.35.

Install MySQL:

To set up MySQL:

Verify that MySQL is installed correctly:

1. Detection Service Manager: MySQL is started:

2. Can I access MySQL using phpMyAdmin:

3. Zend Optimizer

Using Zend Optimizer v3.3.0a

Related Article

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.