当前位置:网站首页>Add the GD Library under centos7.5, and then the MySQL expansion library. There is no problem without the configuration of MySQL expansion. There is no MySQL expansion in phpinfo
Add the GD Library under centos7.5, and then the MySQL expansion library. There is no problem without the configuration of MySQL expansion. There is no MySQL expansion in phpinfo
2022-07-22 18:42:00 【enoshxu】
centos7.5 Add below gd Library then mysql The expansion library is gone ,mysql The expanded configuration is no problem ,phpinfo It's just that there's nothing in it mysql expand .
php -v An error is as follows :
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysqli.so'
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/pdo_mysql.so'
[[email protected]_0_14_centos modules]# php -v
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysqli.so' - libmysqlclient.so.18: cannot open shared object file: No such file or directory in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysqli.so' - libmysqlclient.so.18: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/pdo_mysql.so' - libmysqlclient.so.18: cannot open shared object file: No such file or directory in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/pdo_mysql.so' - libmysqlclient.so.18: cannot open shared object file: No such file or directory in Unknown on line 0
PHP 5.4.16 (cli) (built: Nov 1 2019 16:04:20)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
If msyqli.so The configuration of is ok , Try unloading mysqli.so expand , Such as :yum remove php-mysqli ; Then refit php-mysqli ,
yum install -y php-mysqli
restart php-fpm:
systemctl restart php-fpm
restart nginx The server :
systemctl restart nginx
php -v Check to see if there are any errors
All of the above are in centos7.5 Under the command line operation , Other systems are similar .
Re pass phpinfo.php Check for mysql expand , There is a problem solved .
It seems to be the system itself bug.
边栏推荐
猜你喜欢
01.开闭原则 Open-Closed Principle
Date对象简介
【Audio】基于STM32 I2S移植WM8978 Audio Codec驱动
[SDIO] sd2.0 protocol analysis summary (I) -- Introduction to SD card basic probability
ecshop配置微信支付,微信开发者工具微信支付时弹窗提示“未绑定网页开发者”问题
【Audio】I2S传输PCM音频数据分析总结(二)
App移动端测试【6】应用程序(apk)包管理与activity
【STM32】STM32 SDIO SD卡读写测试(四)-- SD_Test之Transfer Mode阶段
Go 语言重要知识点:字符串、UTF-8 编码、rune
[Nordic] nrf52810 OTA upgrade (III) – DFU theoretical analysis
随机推荐
【SDIO】SDIO、SD卡、FatFs文件系统相关文章索引
包装类和字符串的方法
总结20220120
别让恐婚,扼杀你幸福!
Fabric. JS centered element
Visual studio debugging shortcut key
[Nordic] nrf52810 OTA upgrade (II) – how to use DFU
It took two hours to find the bug about scrollto scrolling the distance from offsettop to the top
sshfs + autofs + sshpass (by quqi99)
批量查分爬虫
C language simple TCP server program
Go 内存模型
Handwritten shallowreadonly and readonly
全局作用域和函数作用域
Why does chrome video get stuck badly (by quqi99)
Internet download manager2022 intelligent win latest version Downloader
协议与端口
DOM添加
set up ovn based sr-iov test env (by quqi99)
ecshop怎么在本地跑超级慢?