今天在运行一个对2M多的文件做处理的PHP程序时,报以下错误:

PHP Warning: PHP Startup: Unable to load dynamic library 'C:/AppServ\php5\ext\php_exif.dll' - 找不到指定的模块。
in Unknown on line 0

原来php_exif.dll是需要依赖 php_mbstring.dll模块的,但是Apache的配置文件httpd.conf中,php_mbstring.dll是写在php_exif.dll之后的,所以加载php_exif.dll的时候php_mbstring.dll还没加载,所以改下它们的顺序,重启服务就行了。

posted on 2011-11-22 11:40  成阳~  阅读(599)  评论(0编辑  收藏  举报