Combination of Windows and IIS7PHPMySQL

Source: Internet
Author: User
Tags windows download
Disadvantages of IIS + PHP: due to the expensive price of the official Windows version, the general price of Windows 19000 Enterprise Edition is 30000. In fact, the configuration on Win7 is similar to that on Windows2003, but the installation and interface of IIS on Win7 are changed. Mysqlv5...... "> <LINKhref =" http: // www.

 

 

Disadvantages of IIS + PHP: due to the expensive version of Windows, the general price of Windows 2003 Chinese Enterprise Edition is 19000-30000.

In fact, the configuration on Win7 is similar to that on Windows 2003, but the IIS installation and interface on Windows have changed.

MySQL v5.1.60 for Win download

PHP v5.3 For Windows Download

2. Install IIS7.5: Open Control Panel> Program> open or close Windows, open the following dialog box, expand Internet information service, and then expand the World Wide Web service, select the default options for "security" and "common HTTP functions", and select "application development functions" as shown in the following figure. Then, click "OK", and the system will automatically install IIS from the disc, after IIS is installed, it can support ASP.

 

3. Configure the php environment: decompress the php compressed package to the directory d: \ php, find php. ini-dist, rename it php. ini, and modify the extension directory.

Enhance stack

Extension_dir = "D: \ php \ ext \"

Remove the semicolon before extension = php_mysql.dll, save and copy php. ini to the Windows directory.

Choose my computer (right-click)> Management> services and applications> Internet Information Service (IIS) manager.

 

Open ISAPI and CGI restrictions, and then add the php ISAPI execution file

 

As shown in figure

 

Open the ISAPI filter and add the php ISAPI execution file.

 

As shown in figure

 

Add default document

 

 

The added list is as follows:

 

 

4. Install/configure Mysql: directly install the downloaded mysql file, and copy libmysql. dll under the php directory to the System32 directory under Windows.

5. Restart IIS. The configuration just now takes effect and the configuration is complete.

BTW: the configuration of apache + php + mysql under Windows 2003 is the same as that under Windows. For more information, click here.

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.