IIS configures the PHP runtime environment method

Source: Internet
Author: User
Open the control panelprogramsprograms and Featuresturn 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 the d:php tutorial
3. Copy the php.ini-dist to the C:windows directory and change the name to PHP.ini
4. Copy Php5ts.dll and Libmysql tutorial. dll to C:windowssystem32
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:inetpubwwwroot) of the Default Web Site, and enter Http://lo in the browser calhost/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.