当前位置: 主页 > 教程 > PHP教程 >

Build PHP+IIS+MuSQL in Windows OS(ISAPI)

编辑:admin 日间:2006-09-14 00:00
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\libmysql.dll     C:\Windows\system32\libmysql.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.