PHP5.3.1 no longer supports ISAPI_PHP tutorials

Source: Internet
Author: User
PHP5.3.1 no longer supports isapis. To use a later version of PHP on IIS6, you must install the fastCGI Extension, MicrosoftFastCGIExtensionforIIS5.1and6.0, and then let your IIS6 support fastCGI. Set the fastCGI Extension to be installed in php. ini to use PHP later than IIS6,

Microsoft FastCGI Extension for IIS 5.1 and 6.0

Then let your IIS6 support fastCGI.

Set the CGI and FastCGI parameters in php. ini:

Fastcgi. impersonate = 1

Fastcgi. logging = 0

Cgi. fix_pathinfo = 1

Cgi. force_redirect = 0

Cgi. rfc2616_headers = 1

Create a batch file and run the code:

C % windir % \ system32 \ inetsrv \ fcgiconfig. js-add-section: "PHP" ^

-Extension: php-path: "C: \ PHP \ php-cgi.exe"

Replace C: \ PHP \ php-cgi.exe with your own installation path!

If you are using phpMyadmin 3.1.0rc, set. libraries/select_lang.lib.php

If ($ envType = 1 & eregi ('^ ('. $ expr. ') (; q = [0-9] \. [0-9])? $ ', $ Str ))

| ($ EnvType = 2 & eregi ('(\ (| \ [|; [: space:]) ('. $ expr. ') (; | \] | \)', $ str ))){

Changed:

If ($ envType = 1 & preg_match ('^ ('. $ expr. ') (; q = [0-9] \. [0-9])? $ ', $ Str ))

| ($ EnvType = 2 & preg_match ('(\ (| \ [|; [: space:]) ('. $ expr. ') (; | \] | \)', $ str ))){

Otherwise, an error is reported:

In. \ libraries \ select_lang.lib.php #147

Eregi () is deprecated

Backtrace

. \ Libraries \ select_lang.lib.php #147: eregi ()

. \ Libraries \ select_lang.lib.php #81: PMA_langDetect (

String zh-cn,

Integer 1,

)

. \ Libraries \ select_lang.lib.php #361: PMA_langCheck ()

. \ Libraries \ common. inc. php #560: require_once (. \ libraries \ select_lang.lib.php)

. \ Index. php #34: require_once (. \ libraries \ common. inc. php)

Note: to install PHP5.3.1 on IIS, we recommend Non-thread-safe build of PHP.

:

  PHP for Windows: Binaries and Sources Releases.

Introduction: http://www.php.net/manual/en/install.windows.iis6.php

Secret, Microsoft FastCGI Extension for IIS 5.1 and 6.0, and then let your IIS6 support fastCGI. Then set... in php. ini...

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.