64-bit win2003/win2008 system iis6.0/7.5 how to configure PHP

Source: Internet
Author: User
Tags configuration php

64-bit win2003/win2008 system iis6.0/7.5 how to configure PHP

32-bit Win2003 system configuration PHP, it is estimated that many people are already familiar with, but when the 64-bit system, it is estimated to encounter new problems. This article records my method of configuring PHP in the 64-bit win2003/win2008 system iis6.0/7.5, the first configuration of the person can refer to the reference.

64-bit win2008 system IIS7.5 configuration PHP environment

Accustomed to IIS6.0 people, IIS7.5 interface is particularly unfamiliar, operating habits are also very different, but it is easy to get started, as the first operation IIS6.0 the same.

64-bit win2008 system IIS7.5 configuration PHP environment, in fact, is in the 32-bit IIS7.5 configuration PHP based on, and then set up one more place, quite simple. If you do not know how to configure PHP in IIS7.5, you can see here: IIS7.5 installation configuration PHP Environment detailed clear tutorial, then do the following:

1. Open the editing interface of the application pool and click on "Advanced Settings", such as 1:

Figure 1: Application pool

2, in the "Advanced settings" screen, " enable 32-bit application " option set to "True", and finally click the OK button to complete the setup. such as 2:

Figure 2: Application pool Advanced Settings

This way, you can run the PHP program.

Here's how to configure PHP for the 64-bit win2003 system IIS6.0

IIS6.0 configuration Php method, will not be the first to see here: windows2003 IIS Configuration support PHP environment, off-star PHP automatic installation 30 seconds, after installation, for 64-bit system, is still not running PHP program, then need to do the following operations:

1. Go to command prompt: Start and run cmd

2. Execute script:

cscript%systemdrive%\inetpub\adminscripts\adsutil.vbs SET W3svc/apppools/enable32bitapponwin64 1

%systemdrive% represents a system disk. For example, if your system disk is C, then the above statement should read:

cscript c:\inetpub\adminscripts\adsutil.vbs SET W3svc/apppools/enable32bitapponwin64 1

This way, you can execute the PHP program.

64-bit win2003/win2008 system iis6.0/7.5 How to configure PHP

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.