IIS6 + PHP best configuration method _ PHP Tutorial

Source: Internet
Author: User
Tags website server
IIS6 + PHP best configuration method. The multi-script support server is now used by more and more people. If you want to set up a server that supports both php (as the mainstream development language), ASP, and asp.net (the most powerful development language multi-script support server of Microsoft), it is now used by more and more people. If you want to set up a platform that supports both php (as the mainstream development language), ASP, asp.net (the most powerful development language of Microsoft), and jsp (the preferred choice for SUN enterprise-level applications) perl Web virtual host server, or use Windows 2003 iis (Microsoft's WEB server platform) 6 best. There are many articles on how to configure php (as the mainstream development language) on iis (Microsoft's WEB server platform) 6 on the internet. However, these methods are either poor performance or difficult to upgrade. The following method allows you to easily upgrade after the first configuration.

The upgrade mentioned here refers to upgrading from a php version 4 (as the current mainstream development language) to another php version 4 (as the current mainstream development language, or you can upgrade from a php Version 5 (as the current mainstream development language) to another php Version 5 (as the current mainstream development language, instead of upgrading from php (as the current mainstream development language) 4 to php (as the current mainstream development language) 5.

Preparation:

1. an installed Windows 2003 Server and iis (Microsoft WEB server platform) 6 have been installed.

2. download the Binary compressed package of php for windows (as the mainstream development language)

Installation:

Decompress the php (as the mainstream development language) Binary compressed package to the C: php (as the mainstream development language) directory (suppose C: The disk is a system disk, that is, the Windows system disk is installed. if the system disk is D: Disk, decompress it to the D: php Directory (as the mainstream development language), and so on ).

Choose "My Computer"> "properties"> "advanced"> "environment variables"> "system variables"> "path" to edit the value, add the following path address:

C: php (as the mainstream development language); C: php (as the mainstream development language) dlls; C: php (as the mainstream development language) extensions; C: php (as the mainstream development language) sapi;

Use php (as the mainstream development language ). ini-dist or php (as the mainstream development language ). copy ini-recommended to the C: Windows directory and change it to php (as the mainstream development language ). ini. generally, php (as the mainstream development language) is used to officially release the website server ). ini-dist, and php as the debugging server (as the mainstream development language ). ini-recommended is better. Of course, in general, this php (as the mainstream development language). ini still needs to be modified according to the actual situation.

The following describes several necessary modification options:

Extension_dir = "C: php (as the mainstream development language) extensions"

This is the directory where php (as the mainstream development language) extensions are stored. make sure that the directory is the same as the one you actually installed.

Extension = php (as the mainstream development language) _ mbstring. dll

; Extension = php (as the mainstream development language) _ big_int.dll

Extension = php (as the mainstream development language) _ bz2.dll

Extension = php (as the mainstream development language) _ cpdf. dll

Extension = php (as the mainstream development language) _ crack. dll

Extension = php (as the mainstream development language) _ curl. dll

Extension = php (as the mainstream development language) _ db. dll

Extension = php (as the mainstream development language) _ dba. dll

Extension = php (as the mainstream development language) _ dbase. dll

Extension = php (as the mainstream development language) _ dbx. dll

Extension = php (as the mainstream development language) _ domxml (standardization is getting closer and closer). dll

; Extension = php (as the mainstream development language) _ exif. dll

; Extension = php (as the mainstream development language) _ fdf. dll

; Extension = php (as the mainstream development language) _ filepro. dll

Extension = php (as the mainstream development language) _ gd2.dll

Extension = php (as the mainstream development language) _ gettext. dll

Extension = php (as the mainstream development language) _ hyperwave. dll

Extension = php (as the mainstream development language) _ iconv. dll

; Extension = php (as the mainstream development language) _ ifx. dll

; Extension = php (as the mainstream development language) _ iis (Microsoft WEB server platform) func. dll

Extension = php (as the mainstream development language) _ imap. dll

; Extension = php (as the mainstream development language) _ interbase. dll

Extension = php (as the mainstream development language) _ java. dll

Extension = php (as the mainstream development language) _ ldap. dll

; Extension = php (as the mainstream development language) _ mcrypt. dll

Extension = php (as the mainstream development language) _ mhash. dll

Extension = php (as the mainstream development language) _ mime_magic.dll

Extension = php (as the mainstream development language) _ ming. dll

Extension = php (as the mainstream development language) _ mssql (a powerful database platform on WINDOWS). dll

Extension = php (as the mainstream development language) _ msql. dll

; Extension = php (as the mainstream development language) _ oci8.dll

Extension = php (as the mainstream development language) _ openssl. dll

; Extension = php (as the mainstream development language) _ Oracle (large website database platform). dll

Extension = php (as the mainstream development language) _ pdf. dll

Extension = php (as the mainstream development language) _ pgsql. dll

; Extension = php (as the mainstream development language) _ printer. dll

Extension = php (as the mainstream development language) _ shmop. dll

; Extension = php (as the mainstream development language) _ snmp. dll

Extension = php (as the mainstream development language) _ sockets. dll

; Extension = php (as the mainstream development language) _ sybase_ct.dll

Extension = php (as the mainstream development language) _ w32api. dll

Extension = php (as the mainstream development language) _ xml (standardization is getting closer and closer) rpc. dll

Extension = php (as the mainstream development language) _ xslt. dll

Extension = php (as the mainstream development language) _ yaz. dll

Extension = php (as the mainstream development language) _ zip. dll

In the above cases, the open extension is not given a plus sign at the beginning, and the extension that is not opened is added with a semicolon. The above settings include all extensions that can be opened by default during Windows 2003 installation (php (as the mainstream development language) 4 is listed here ).

Session. save_path = c: sessions

This is the default session file directory, which must be an existing directory. Otherwise, the default session function will be invalid. Here I set a directory on a ramdisk. Setting session. save_path on ramdisk can speed up session processing. If ramdisk is not installed, you can specify it to any directory of other disks, such as the C: sessions directory and C: WindowsTemp directory.

Never-ending technical exchanges

Bytes. If you want to set up a program that supports php (as the mainstream development language), ASP, and asp.net (the most powerful development language of Microsoft...

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.