Home  >  Article  >  Backend Development  >  [PHP有关问题]PHP Warning: PHP Startup: Unable to load dynamic library ‘C:/AppServphp5

[PHP有关问题]PHP Warning: PHP Startup: Unable to load dynamic library ‘C:/AppServphp5

WBOY
WBOYOriginal
2016-06-13 11:03:351105browse

[PHP问题]PHP Warning: PHP Startup: Unable to load dynamic library ‘C:/AppServ\php5

写了一个导入数据的程序,发现老是执行到一半就直接报页面不能载入的错误
查日志发现了一条

?

PHP Warning:? PHP Startup: Unable to load dynamic library ‘e:/AppServ/php5/ext\\php_exif.dll’ – \xd5\xd2\xb2\xbb\xb5\xbd\xd6\xb8\xb6\xa8\xb5\xc4\xc4\xa3\xbf\xe9\xa1\xa3\r\n in Unknown on line 0

于是上网搜索 关于 php_exif.dll的加载问题,发现了一条关于php分配内存和php_exif.dll的内容,眼前一亮,意识到可能是php分配内存不成功导致页面不能访问
原来php_exif.dll要求php_mbstring.dll引伸使能。 并且必须在php_exif.dll之前使能php_mbstring.dll,所以
php_mbstring.dll必须在php_exif.dll加载之前加载,可惜php.ini的加载顺序是按字母顺序排的,手动改加载顺序,重启apache,OK!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn