Install php in windows

Source: Internet
Author: User
Php is installed in windows with php5.3 in combination with IIS. In general, we install php5.3 in windows2003, that is, if we use ISAPI with IIS6.0, directly extract php5.2.x to a directory, and then set ISAPI ing in IIS. ISAPI filter 3. use FastCGI to record in OS-IIS-I

Php is installed in windows with php5.3 in combination with IIS. In general, we install php5.3 in windows2003, that is, if we use ISAPI with IIS6.0, directly extract php5.2.x to a directory, and then set ISAPI ing in IIS. ISAPI filter 3. use FastCGI to record in OS-IIS-I

Install php in windows

Php5.3


With IIS

In general, we install it in windows2003, that is, it works with IIS6.0.

Use ISAPI
If you use ISAPI, you can directly extract php5.2.x to a directory, and then set ISAPI ing in IIS.
1. ISAPI filter

3.


Use FastCGI
Record under OS-IIS-IIS6

Version description

Only mssql database is available in version 5.2. Version 5.3 does not have a mssql database. You can only use the latest version of Microsoft SQLServerDriverForPHP: Version 2.0 rtm.
Note: When using a Microsoft driver, you need to pay attention to the Case sensitivity in the Program (not a PHP keyword, probably SQL)

Install the Microsoft driver as follows:
SQLSRV20.EXE-decompress the package, copy the corresponding driver file to the ext directory under the php Directory, and add references to the extension.
Sqlncli. msi-ODBC driver must be installed

5.3 after installation, the php. ini settings have the following notes:

First set the PATH in windows, and then set:
Default_charset = "UTF-8"
Extension_dir = "d:/php/ext /"

Enable the following extensions:
Extension = php_gd2.dll
Extension = php_mbstring.dll
Extension = php_mysql.dll
Extension = php_mysqli.dll
Extension = php_pdo_mysql.dll
Extension = php_pdo_sqlite.dll
Extension = php_sockets.dll
Extension = php_sqlite.dll

Enable others as needed

Set:
Date. timezone = PRC

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.