VPS侦探论坛

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

无法正常使用PHP 7.3

[复制链接]
发表于 2022-10-27 10:56:28 | 显示全部楼层 |阅读模式

通过lnmp1.9 安装之后,发现缺少大量的so库,是需要一个一个自己下载么?还是安装的时候有问题 ?有没有办法解决


Starting php-fpm [27-Oct-2022 10:52:34] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library 'curl' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/curl (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/curl: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/curl.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/curl.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[27-Oct-2022 10:52:34] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library 'fileinfo' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/fileinfo (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/fileinfo: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/fileinfo.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/fileinfo.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[27-Oct-2022 10:52:34] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library 'gettext' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/gettext (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/gettext: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/gettext.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/gettext.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[27-Oct-2022 10:52:34] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library 'mbstring' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/mbstring (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/mbstring: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/mbstring.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/mbstring.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[27-Oct-2022 10:52:34] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library 'exif' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/exif (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/exif: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/exif.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/exif.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[27-Oct-2022 10:52:34] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library 'pdo_mysql' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/pdo_mysql (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/pdo_mysql: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/pdo_mysql.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/pdo_mysql.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[27-Oct-2022 10:52:34] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library 'pdo_sqlite' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/pdo_sqlite (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/pdo_sqlite: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/pdo_sqlite.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/pdo_sqlite.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[27-Oct-2022 10:52:34] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library 'soap' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/soap (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/soap: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/soap.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/soap.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[27-Oct-2022 10:52:34] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library 'sockets' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/sockets (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/sockets: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/sockets.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/sockets.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

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


你肯定自己修改了php.ini
基本模块都是默认buildin的没有.so这些,即使没有的php模块也不是在php.ini 中加个 xxx.so 就可以的,常见问题中都有说明
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-5 17:18 , Processed in 0.025773 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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