The best configuration method for iis6+php _php tutorial

Source: Internet
Author: User
Tags web hosting
Multi-script support servers are now being used by more and more people. If you want to set up a PHP (as the current mainstream development language), ASP, net (Microsoft's strongest development language), JSP (the preferred Sun Enterprise application), Perl Web hosting server, or Windows 2003 IIS ( Microsoft Web server platform) 6 best. There are a lot of articles on the web that describe the configuration of PHP (as the current mainstream development language) on IIS 6, but those methods are not bad performance or upgrade trouble. The following method allows you to easily upgrade the first time you configure it.

The upgrade referred to here refers to the upgrade from one PHP (as the current mainstream development language) version 4 to another PHP (as the current mainstream development language) version 4, or from a PHP (as the current mainstream development language) version 5 to another PHP (as the current mainstream development language) 5 version, Instead of referring to PHP (which is now the mainstream development language) 4, to the current mainstream development language, 5.

Get ready:

1, an installed Windows 2003 server, and has installed IIS (Microsoft Web server platform) 6.

2, download the Windows version of PHP (as the current mainstream development language) binary compression package

Installation:

Unzip PHP (as the current mainstream development language) binary compression package to c:php (as the current mainstream development language) directory (this assumes that the C: disk is the system disk, that is, the installation of Windows system disk, if the system disk is D: disk, then unzip to d:php (as the current mainstream development language) Recording, and so on, the same as below).

Then, under "System variables", "environment variables," such as "My Computer", "Properties", "Advanced", "," and "path", edit its value and add the following path address in front:

C:php (as the current mainstream development language); C:php (as the current mainstream development language) DLLs; C:php (as the current mainstream development language) extensions; C:php (as the current mainstream development language) SAPI;

PHP (as the current mainstream development language). Ini-dist or PHP (as the current mainstream development language). ini-recommended copied to the C:windows directory and renamed PHP (as the current mainstream development language). INI, The general official release of the website of the server with PHP (as the current mainstream development language). Ini-dist, and as a debugging server with PHP (as the mainstream development language now). ini-recommended better. Of course, in general, this PHP (as the current mainstream development language). INI still needs to be modified according to the actual situation.

Here are a few of the necessary modification options:

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

This is the directory where PHP (as the current mainstream development language) expands, make sure it is the same as the directory you actually installed.

Extension=php (as the current mainstream development language) _mbstring.dll

; extension=php (as the mainstream development language now) _big_int.dll

Extension=php (as the current mainstream development language) _bz2.dll

Extension=php (as the current mainstream development language) _cpdf.dll

Extension=php (as the current mainstream development language) _crack.dll

Extension=php (as the current mainstream development language) _curl.dll

Extension=php (as the current mainstream development language) _db.dll

Extension=php (as the current mainstream development language) _dba.dll

Extension=php (as the current mainstream development language) _dbase.dll

Extension=php (as the current mainstream development language) _dbx.dll

Extension=php (as the current mainstream development language) _domxml (standardization getting closer). dll

; extension=php (as the mainstream development language now) _exif.dll

; extension=php (as the mainstream development language now) _fdf.dll

; extension=php (as the mainstream development language now) _filepro.dll

Extension=php (as the current mainstream development language) _gd2.dll

Extension=php (as the current mainstream development language) _gettext.dll

Extension=php (as the current mainstream development language) _hyperwave.dll

Extension=php (as the current mainstream development language) _iconv.dll

; extension=php (as the mainstream development language now) _ifx.dll

Extension=php (as the current mainstream development language) _iis (Microsoft Web server platform) func.dll

Extension=php (as the current mainstream development language) _imap.dll

; extension=php (as the mainstream development language now) _interbase.dll

Extension=php (as the current mainstream development language) _java.dll

Extension=php (as the current mainstream development language) _ldap.dll

; extension=php (as the mainstream development language now) _mcrypt.dll

Extension=php (as the current mainstream development language) _mhash.dll

Extension=php (as the current mainstream development language) _mime_magic.dll

Extension=php (as the current mainstream development language) _ming.dll

Extension=php (as the current mainstream development language) _mssql (powerful database platform on the Windows platform). dll

Extension=php (as the current mainstream development language) _msql.dll

; extension=php (as the mainstream development language now) _oci8.dll

Extension=php (as the current mainstream development language) _openssl.dll

; extension=php (as the current mainstream development language) _oracle (large Web site database platform). dll

Extension=php (as the current mainstream development language) _pdf.dll

Extension=php (as the current mainstream development language) _pgsql.dll

; extension=php (as the mainstream development language now) _printer.dll

Extension=php (as the current mainstream development language) _shmop.dll

; extension=php (as the mainstream development language now) _snmp.dll

Extension=php (as the current mainstream development language) _sockets.dll

; extension=php (as the mainstream development language now) _sybase_ct.dll

Extension=php (as the current mainstream development language) _w32api.dll

Extension=php (as the current mainstream development language) _xml (standardization is getting closer) Rpc.dll

Extension=php (as the current mainstream development language) _xslt.dll

Extension=php (as the current mainstream development language) _yaz.dll

Extension=php (as the current mainstream development language) _zip.dll

Above, the opening without a semicolon is an open extension, and a semicolon is an extension that is not open. The above settings include the ability to open all extensions in the default installation on Windows 2003 (This is the PHP (now the mainstream development language) 4).

Session.save_path = C:sessions

This is the default directory to save the session file, this directory must be an existing directory, or the default session function will be invalid. What I am setting here is a directory on a RAMDisk. Setting the Session.save_path on RAMDisk can speed up session processing. If you do not have RAMDisk installed, you can assign it to any directory of other disks, such as the C:sessions directory, the C:windowstemp directory, and so on.

Technical Exchange is endless

http://www.bkjia.com/PHPjc/508535.html www.bkjia.com true http://www.bkjia.com/PHPjc/508535.html techarticle Multi-script support servers are now being used by more and more people. If you want to set up a simultaneous support for PHP (as the current mainstream development language), ASP, ASP, net (Microsoft's strongest development ...

  • 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.