Configure PhP5 in iis7

Source: Internet
Author: User

Use IIS to develop. netProgramIIS is supported. Today, I installed a PHP file. I checked it online and recorded it.

First, start iis7 (Vista) and skip ....

PHP configuration:

1.Find; Extension = php_mbstring.dll, remove ";" from the front,
Find; Extension = php_gd2.dll, remove ";" from the front,
Find; Extension = php_mysql.dll, and remove.

2.Set extension_dir = "./"
Extension_dir = "D:/PHP/EXT /"
Note that it must end /.

3.If your session fails to be created, you can create a session in the C: "PHP Directory.

Session. save_path = "/tmp"
Change to session. save_path = "D:/PHP/session"

Save as PHP. ini and copy it to C: Windows

Copy php_mysql.dll to the ext folder in the PHP Directory that you just extracted to the System32 folder.

Open the IIS manager and use the selected handler ing-add script ing. In the displayed dialog box, enter *. php In the request path. The executable file is php5isapi. dll (located in the PHP Directory)

Create a document and add <? Phpinfo ()?>, You can check it !!!

Appendix: PHP for Windows (it is best to download the compressed package, which directory can be stored)

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.