PHP扩展:fileinfo 被禁用问题 Unable to load dynamic library
我安装一个程序需要fileinfo函数支持,我将php.ini的“;extension=php_fileinfo.dll"、";extension=php_intl.dll"两个配置打开。重启lnmp的时候报如下异常,请问怎么处理,谢谢?lnmp是1.0,php版本是5.3.17Starting LNMP...
Starting nginx daemon: nginx.
Starting php-fpm NOTICE: PHP message: PHP Warning:PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/php_fileinfo.dll' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/php_fileinfo.dll: cannot open shared object file: No such file or directory in Unknown on line 0
NOTICE: PHP message: PHP Warning:PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/php_intl.dll' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/php_intl.dll: cannot open shared object file: No such file or directory in Unknown on line 0
done
[ 本帖最后由 yangd4 于 2013-11-7 16:36 编辑 ] 可以了。我将upgrade_php.sh脚本里的“--disable-fileinfo”改成“'--enable-fileinfo”升级了一下PHP。 这个问题早就说过很多次了,而且有专门的教程,dll是win下的
lnmp添加模块按https://www.vpser.net/manage/lnmp-php-install-ext.html 这个方法
页:
[1]