Apache启动报错 mbstring.dll 模块

本文介绍了如何通过调整PHP配置文件中模块加载的顺序来解决未知模块错误的问题。具体操作是将php_mbstring.dll的加载位置调整到php_exif.dll之前。

如果去掉加载php_mbstring.dll

就直接报 unknown模块出错。

经查是PHP加载模块顺序问题。

只要把extension=php_mbstring.dll放到extension=php_exif.dll之前,就可解决问题。

 

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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值