Simple steps for configuring the PHP Runtime Environment in IIS 7 [graphics and Tutorials]_win server

Source: Internet
Author: User
Install IIS 7.0

Open the control panel\programs\programs and Features\turn Windows Features in oroff, and in the Open dialog box, tick the two options:

Click OK to wait a moment, and IIS is ready to install.

Install PHP 5.2.6

1. Download: PHP 5.2.6; Other versions of PHP downloads.

2. Unzip the compressed package and place it in a directory, such as D:\php

3. Copy the php.ini-dist to the C:\Windows directory and change the name to PHP.ini

4. Copy Php5ts.dll and Libmysql.dll to C:\Windows\System32

Configuring IIS

1. Add ISAPI filter (ISAPI Filters)

2. Configuration handler mapping (Handler mappings)

Test

Create a new text file, enter <?php phpinfo (),?> Save as a php file, and store it in the file directory (C:\inetpub\wwwroot) of the Default Web Site, and enter HTTP://LOCALH in the browser Ost/test.php can view the deployed PHP information.

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.