Unknown():Unable to load dynamic library 问题解决

博客主要讲述了自动开启PHP扩展功能,修改PHP.INI的Dynamic Extensions后报错的问题,报错信息为无法加载指定动态库。解决办法是将PHP目录下dlls文件夹中的DLL文件复制到WINDOWS/SYSTEM32下,所用版本为php*-win.zip。

经常碰到有人自动开启PHP扩展功能,修改PHP。INI后Dynamic Extensions后,报如下错,

"Unknown():Unable to load dynamic library 'C:/php/extensions/php_sablot.dll' - 找不到指定的程序。
"

解决办法是将PHP目录下dlls文件夹中的DLL文件COPY到WINDOWS/SYSTEM32下就OK了,

所用版本为php*-win.zip

D:\PHP\php.exe C:\Users\cyzj\PhpstormProjects\untitled\02.php PHP Warning: PHP Startup: Unable to load dynamic library 'curl' (tried: C:\php\ext\curl (找不到指定的模块。), C:\php\ext\php_curl.dll (找不到指定的模块。)) in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'gd' (tried: C:\php\ext\gd (找不到指定的模块。), C:\php\ext\php_gd.dll (找不到指定的模块。)) in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'mbstring' (tried: C:\php\ext\mbstring (找不到指定的模块。), C:\php\ext\php_mbstring.dll (找不到指定的模块。)) in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'mysqli' (tried: C:\php\ext\mysqli (找不到指定的模块。), C:\php\ext\php_mysqli.dll (找不到指定的模块。)) in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'openssl' (tried: C:\php\ext\openssl (找不到指定的模块。), C:\php\ext\php_openssl.dll (找不到指定的模块。)) in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_mysql' (tried: C:\php\ext\pdo_mysql (找不到指定的模块。), C:\php\ext\php_pdo_mysql.dll (找不到指定的模块。)) in Unknown on line 0 Warning: PHP Startup: Unable to load dynamic library 'curl' (tried: C:\php\ext\curl (找不到指定的模块。), C:\php\ext\php_curl.dll (找不到指定的模块。)) in Unknown on line 0 Warning: PHP Startup: Unable to load dynamic library 'gd' (tried: C:\php\ext\gd (找不到指定的模块。), C:\php\ext\php_gd.dll (找不到指定的模块。)) in Unknown on line 0 Warning: PHP Startup: Unable to load dynamic library 'mbstring' (tried: C:\php\ext\mbstring (找不到指定的模块。), C:\php\ext\php_mbstring.dll (找不到指定的模块。)) in Unknown on line 0 Warning: PHP Startup: Unable to load dynamic library 'mysqli' (tried: C:\php\ext\mysqli (找不到指定的模块。), C:\php\ext\php_mysqli.dll (找不到指定的模块。)) in Unknown on line 0 Warning: PHP Startup: Unable to load dynamic library 'openssl' (tried: C:\php\ext\openssl (找不到指定的模块。), C:\php\ext\php_openssl.dll (找不到指定的模块。)) in Unknown on line 0 Warning: PHP Startup: Unable to load dynamic library 'pdo_mysql' (tried: C:\php\ext\pdo_mysql (找不到指定的模块。), C:\php\ext\php_pdo_mysql.dll (找不到指定的模块。)) in Unknown on line 0 进程已结束,退出代码为 0 py报错
最新发布
12-29
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值