查看文章
 
解决了PHP Startup:Unable to initialize module的错误
2008-06-29 22:46
我在Windows 2003上安装好了apache2.0 php5.2 mysql
但是在启动apache的时候总是报这样的错:
PHP Startup:mbstring:Unable to initialize module
Module compiled with module API=20060613,debug=0,thread-safety=1
PHP compiled with module API=20050922,debug=0,thread-safety=1
These options need to match

另外,所有php ext目录的动态dll 都是提示 “无法找到相应的模块”!

无法初始化模块错误

mysqlerror.GIF

今天终于找到问题了,原来我装过一个win32版本的php5,是msi的安装版本,加了一个Path环境变量到我的服务器上,倒是php加载的时候首先去找环境变量的php.去掉这个环境变量,重启就好了!

类别:Lamp||添加到搜藏 |分享到i贴吧|浏览(2487)|评论 (0)
 
最近读者:
 
网友评论:
发表评论:
姓 名:
网址或邮箱: (选填)
内 容:
     

   
帮助中心 | 空间客服 | 投诉中心 | 空间协议
©2012 Baidu