PHP5 installation method [transfer]

xiaoxiao2021-03-06  40

A few days ago, the PHP5 official version was released, and after the Win2000 was installed in the ISAPI mode. A prompt "PHP WARNING: PHP Startup: Unable to load Dynamic Library'' 11" PHP /EXT/PHP_MYSQL.DLL '- The Specified Module Could Not Be found. "The installation method of the PHP looked at N times did not find a solution. The final and ERIC discussion is: copy the libmysql.dll under C: / PHP to C: / Winnt / System32 Under the directory, then restart IIS is fine.

This article describes the installation method of PHP IIS under Windows 2000 (ISAPI mode)

1, extract PHP-5.0-WIN32.ZIP to C: / PHP

2, php.ini-dist name is called PHP.INI, finding the 438th line to change to extension_dir = C: / PHP / EXT

3, remove 565 lines; extension = php_mysql.dll ";" comment symbol

4, copy the php.ini to the Winnt directory, then copy php5ts.dll and libmysql.dll to Winnt / System32 /

5. Open IIS, add a PHP suffix. (Pointing C: /PHP/php5isapi.dll)

6, restart IIS

转载请注明原文地址:https://www.9cbs.com/read-74896.html

New Post(0)