Build PHP+IIS+MuSQL in Windows OS(ISAPI)
1 unzip php-5.0.0-Win32.zip to C:\php5 2 copy C:\php5\php5ts.dll C:\ Windows \php5ts.dll 3 copy C:\php5\lib mysql .dll C:\Windows\system32\libmysql.dll 4 copy C:\php5\php.ini-dist C:\Windows\php.ini and edit it as follow: extension_dir =
1 unzip php-5.0.0-Win32.zip to C:\php5
2 copy C:\php5\php5ts.dll C:\
Windows\php5ts.dll
3 copy C:\php5\lib
mysql.dll C:\
Windows\system32\lib
mysql.dll
4 copy C:\php5\php.ini-dist C:\Windows\php.ini
and edit it as follow:
extension_dir = "c:/php5/ext/"
uncomment tag ';' in line ;extension=php_mysql.dll
uncomment tag ';' in line ;extension=php_mysqli.dll
5 open IIS, click the default
web site, action|proeprty|main directory|config, add .php direct to c:\php5\php5isapi.dll, restart IIS in Services/IIS Admin.
原文转自:http://www.ltesting.net
|