欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  后端开发

扩展-Linux下安装DISCUZ出现的错误:advice_mysqli_connect

程序员文章站 2022-04-26 19:36:06
...
扩展phpdiscuz!mysqliapache

看日志信息说无法加载mysql模块:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysqli.so' - /usr/lib64/php/modules/mysqli.so: undefined symbol: zval_used_for_init in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysql.so' - /usr/lib64/php/modules/mysql.so: undefined symbol: executor_globals in Unknown on line 0
PHP Warning: PHP Startup: pdo_mysql: Unable to initialize module\nModule compiled with module API=20090626\nPHP compiled with module API=20151012\nThese options need to match\n in Unknown on line 0

求解~~~