IIS6 + rewrite + ASP + PhP5 + mysql5

Source: Internet
Author: User
Tags website server
This article describes how to install IIS6 + rewrite + ASP + PhP5 + zendoptimizer3 + mysql5 + phpmyadmin2.7. If the false settings have been installed by Windows 2003, perform the following steps:

1) An Yi IIs-6.0:

Console> add or remove programs> Add/Remove Windows components, and select Application Server (for example, tablet 1.

Slice 1

2) Security token isapi_rewrite:

The lower-tier http://www.isapirewrite.com/download/isapi_rwl_x86_0059.msi Standard

3) An Yi ISAPI-php-5.1.2:

The lower part of the http://hk2.php.net/get/php-5.1.2-Win32.zip/from/hk.php.net/mirror to all the solution to c: \ Inetpub \ PHP (such as tablets 2)
The lower commit http://hk2.php.net/get/pecl-5.1.2-Win32.zip/from/this/mirror to all (PHP _ *. dll) to c: \ Inetpub \ PHP \ ext
Override c: \ Inetpub \ PHP \ *. DLL to c: \ windows \ *. dll (except for the PhP5 *. dll file)
Override c: \ Inetpub \ PHP. ini-Dist to c: \ windows \ PHP. ini
Modify the following content in c: \ windows \ PHP. ini:

Extension_dir = "C: \ Inetpub \ PHP \ Ext"
Browscap = c: \ windows \ system32 \ inetsrv \ browscap. ini
CGI. force_redirect = 0
CGI. rfc2616_headers = 0
Upload_max_filesize = 6 m // you can specify a limit of 6 m for the Upload File.
Extension = php_mbstring.dll
Extension = php_exif.dll
Extension = php_gd2.dll
Extension = php_gettext.dll
Extension = php_mysql.dll
Extension = php_zip.dll
Extension = php_zlib.dll

Slice 2

Set IIS Start> system management tools> IIS Administrator (for example, picture 3)
Added the extension isapi_rewrite c: \ Program Files \ helicon \ isapi_rewrite \ isapi_rewrite.dll.
Add Web Server Extension php-5.1.2 c: \ Inetpub \ PHP \ php5isapi. dll
Allows the extension of the website server-Active Server Pages
Allowed extension of WebSite Services-ASP. NET v1.1.4322
Allows Internet service extension-isapi_rewrite
Allowed internet service extensions-php-5.1.2

Slice 3

Set website content
Website> content> main object> Settings> New website added: Response Row C: \ Inetpub \ PHP \ php5isapi. DLL sub-producer name. PHP)

Tablet 4

Website> content> File> New website added: index. php (website metadata: Picture 5)

Slice 5

4) An Yi ZendOptimizer-3.0.0:

The lower-tier http://downloads.zend.com/optimizer/3.0.0/ZendOptimizer-3.0.0-Windows-i386.exe Standard

5) An Yi mysql-5.0.20:

Under the http://dev.mysql.com/get/Downloads/MySQL-5.0/mysql-5.0.20-win32.zip/from/pick standard security (security when added to the root password, such as to enter the photo platform and select root login process login)

6) An Yi phpMyAdmin-2.7.0-pl2:

Lower than http://prdownloads.sourceforge.net/phpmyadmin/phpMyAdmin-2.7.0-pl2.zip? Download all commands to c: \ Inetpub \ wwwroot \ phpMyAdmin (set phpMyAdmin to be added to the everyone permission limit. Example: Ghost 6)
PhpMyAdmin Object Security Settings> certificate and access control> certificate access> (optional for example, 7)
Override c: \ Inetpub \ wwwroot \ phpMyAdmin \ config. Default. php to c: \ Inetpub \ wwwroot \ phpMyAdmin \ config. Inc. php
Modify the following content in c: \ Inetpub \ wwwroot \ phpMyAdmin \ config. Inc. php:
$ Cfg ['servers'] [$ I] ['auth _ type'] = 'http'; // authentication method (config, HTTP or cookie based )?
Http: // localhost/phpMyAdmin

Slice 7
 

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.