改用php5isapi.dll,并把php5ts.dll文件拷贝到windows目录。出现这个错误:( Server Application Error The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for assistance.
我让了说了我的windows 2000 系统是在F盘的
Please refer to the event log for more detail information. 系统日志,提示服务器没有载入应用程序,‘/lm/w3svc/1/root/repository',repository是我建立的虚拟目录,还提示服务器没有在限定的时间内用dcom注册,运行时坏境在其内部状态检测到不一致。 还提示com+服务无法初始化,通常是由本地计算机的系统资源存储问题引起的。救救!
Server Application Error
The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for assistance.
系统日志,提示服务器没有载入应用程序,‘/lm/w3svc/1/root/repository',repository是我建立的虚拟目录,还提示服务器没有在限定的时间内用dcom注册,运行时坏境在其内部状态检测到不一致。
还提示com+服务无法初始化,通常是由本地计算机的系统资源存储问题引起的。救救!
;extension=php_mysql.dll 前面的分号去掉.
extension=php_mbstring.dll 前面的分号去掉.
顺便改register_globals = On,这个也可以不改
在IIS里面点网站-》默认网站-》属性-》主目录,点配置,添加php就行了(php5isapi.dll),还有ISAPI筛选器同理。
mysql我就不说了,NEXT就行了
然后在F:\Inetpub\wwwroot目录下建一个test.php文件,内容为
<?php
phpinfo();
?>
然后运行它(http://localhost/test.php),出现php的显示页面就行了
现在php可以看到了,mysql数据库还没能应用上去:(