gpt4 book ai didi

Php 7.0 Armbian,我如何修复 Mysqli?

转载 作者:行者123 更新时间:2023-12-04 19:09:53 24 4
gpt4 key购买 nike

root@orangepilite:~# php -e 'phpInfo();' | grep -i mysqli
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/mysqli.so' - /usr/lib/php/20151012/mysqli.so: undefined symbol: mysqlnd_connect in Unknown on line 0
root@orangepilite:~# ^C

root@orangepilite:~# apt-get install php-mysql
Reading package lists... Done
Building dependency tree
Reading state information... Done
php-mysql is already the newest version (1:7.0+35ubuntu6.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@orangepilite:~#
我如何启用和修复 MYSQL?
PhpmyAdmin 错误 screen

最佳答案

修复

extension=/usr/lib/php/20151012/mysqlnd.so
extension=/usr/lib/php/20151012/mysqli.so

在 php.ini 中

关于Php 7.0 Armbian,我如何修复 Mysqli?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58889535/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com