How to configure all-around space in Windows 2000 + IIS + PhP5

Source: Internet
Author: User

Generally, ASP is supported by default on Windows systems where IIS is installed. The following describes how to make it support PHP and MySQL and Gd libraries.

 

How to install PHP and IIS in Windows 2000

 

1. We recommend that you use unzip -win32.zip to decompress php-5.0.0(5.0.5latest version) to C: PHP.

 

2. Copy PHP. ini-Dist to the WINNT directory and change it to PhP. ini. Copy php5ts. dll and libmysql. DLL to winnt/system32.

 

3. Next, set in IIS, open the default site Properties dialog box, switch to the "main directory" tab, and click "Configure" to open the "ApplicationProgramIn the configuration dialog box, click Add to open the Add/edit application extension ing dialog box. In the "executable file" input box, point to C: PHP/php5isapi. DLL, enter "php" (excluding quotation marks) in the "extension" input box, and select the "Script Engine" and "check whether the file exists" check boxes to confirm and exit IIS.

 

 

Now the server should be able to support both ASP and PHP.

 

Configure PHP. ini to support MySQL and Gd libraries.

 

1. In notepad, find "extension_dir" and
Extension_dir = "./"
Change
Extension_dir = "C: PHP/EXT"

 

2. In notepad, find "; Extension = php_mysql.dll" and "; Extension = php_gd2.dll", and then remove ";".
; Extension = php_mysql.dll
Change
Extension = php_mysql.dll

 

Set
; Extension = php_gd2.dll
Change
Extension = php_gd2.dll

 

3. Save PHP. ini and restart IIS.

Related Article

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.