VPS侦探论坛

 找回密码
 注册
查看: 2423|回复: 1

请教下开任何扩展都会报错,这怎么解决呢

[复制链接]
发表于 2019-5-21 16:39:03 | 显示全部楼层 |阅读模式

21-May-2019 16:38:30] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library 'mysqli' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/mysqli (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/mysqli: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/mysqli.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/mysqli.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[21-May-2019 16:38:30] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library 'openssl' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/openssl (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/openssl: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/openssl.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/openssl.so: cannot open shared object file: No such file or directory)) in Unknown on line 0


美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2019-5-21 18:22:27 | 显示全部楼层


mysqli、openssl这些基本模块本来任何环境都会默认安装
如果是其他php模块要安装,查看常见问题中php模块安装教程,所有模块的安装不是改一下配置文件中的注释就是可以的!
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-20 07:11 , Processed in 0.025453 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表