【待反馈】需要openssl3.0以上的环境
软件需要openssl版本大于3,手动编译好几次都没用,有没有大佬成功升级过openssl到3?操作前请做好快照 您好,您这边可以参考一下链接
https://blog.csdn.net/qq_43127208/article/details/137783403 运维技术阿闯 发表于 2024-8-21 09:56
您好,您这边可以参考一下链接
https://blog.csdn.net/qq_43127208/article/details/137783403 ...
参照这个链接openssl成功升级到了3.2.0,但php编译安装后报启动失败:
/www/server/php/82/sbin/php-fpm: symbol lookup error: /www/server/php/82/sbin/php-fpm: undefined symbol: EVP_md2, version OPENSSL_1_1_0 yimo 发表于 2024-8-21 16:56
参照这个链接openssl成功升级到了3.2.0,但php编译安装后报启动失败:
/www/server/php/82/sbin/php-fpm ...
您好,您这边安装后查看一下php.ini里边的extension=openssl.so是否正确,做好快照后重启一下面板或者是服务器,然后再看安装 先安装php后升级openssl成功,感谢大佬! 运维技术阿闯 发表于 2024-8-21 17:10
您好,您这边安装后查看一下php.ini里边的extension=openssl.so是否正确,做好快照后重启一下面板或者是服 ...
服务器未重启前一切正常,服务器重启后项目无法访问了:'(,nginx和php状态如下:
root@yimo:~# sudo systemctl status nginx
● nginx.service - LSB: starts the nginx web server
Loaded: loaded (/etc/init.d/nginx; generated)
Active: active (exited) since Wed 2024-08-21 13:10:59 UTC; 12min ago
Docs: man:systemd-sysv-generator(8)
Process: 808 ExecStart=/etc/init.d/nginx start (code=exited, status=0/SUCCESS)
Aug 21 13:10:57 yimo systemd: Starting LSB: starts the nginx web server...
Aug 21 13:10:59 yimo nginx: Starting nginx...done
Aug 21 13:10:59 yimo systemd: Started LSB: starts the nginx web server.
root@yimo:~# sudo systemctl status php-fpm-82.service
● php-fpm-82.service - LSB: starts php-fpm
Loaded: loaded (/etc/init.d/php-fpm-82; generated)
Active: active (exited) since Wed 2024-08-21 13:11:00 UTC; 13min ago
Docs: man:systemd-sysv-generator(8)
Process: 810 ExecStart=/etc/init.d/php-fpm-82 start (code=exited, status=0/SUCCESS)
Aug 21 13:10:57 yimo systemd: Starting LSB: starts php-fpm...
Aug 21 13:10:59 yimo php-fpm-82: Starting php-fpm
Aug 21 13:10:59 yimo php-fpm-82: NOTICE: PHP message: PHP Warning:PHP Startup: Unable to load dynamic library 'gd' (tried: /www/server/php/82/>
Aug 21 13:10:59 yimo php-fpm-82: NOTICE: PHP message: PHP Warning:PHP Startup: Unable to load dynamic library 'mbstring' (tried: /www/server/p>
Aug 21 13:10:59 yimo php-fpm-82: NOTICE: PHP message: PHP Warning:PHP Startup: Unable to load dynamic library 'pdo_mysql' (tried: /www/server/>
Aug 21 13:10:59 yimo php-fpm-82: NOTICE: PHP message: PHP Warning:PHP Startup: Unable to load dynamic library 'soap' (tried: /www/server/php/8>
Aug 21 13:10:59 yimo php-fpm-82: NOTICE: PHP message: PHP Warning:Module "gmp" is already loaded in Unknown on line 0
Aug 21 13:11:00 yimo php-fpm-82:done
Aug 21 13:11:00 yimo systemd: Started LSB: starts php-fpm.
lines 1-15/15 (END) 一觉起来啥也没动又变成了这样:root@yimo:~# sudo systemctl status nginx
● nginx.service - LSB: starts the nginx web server
Loaded: loaded (/etc/init.d/nginx; generated)
Active: active (running) since Thu 2024-08-22 01:16:12 UTC; 1min 14s ago
Docs: man:systemd-sysv-generator(8)
Process: 807 ExecStart=/etc/init.d/nginx start (code=exited, status=0/SUCCESS)
Tasks: 10 (limit: 9423)
Memory: 185.1M
CGroup: /system.slice/nginx.service
├─1614 nginx: master process /www/server/nginx/sbin/nginx -c /www/server/nginx/conf/nginx.conf
├─1615 nginx: worker process
├─1616 nginx: worker process
├─1617 nginx: worker process
├─1618 nginx: worker process
├─1619 nginx: worker process
├─1620 nginx: worker process
├─1621 nginx: worker process
├─1622 nginx: worker process
└─1623 nginx: cache manager process
Aug 22 01:16:10 yimo systemd: Starting LSB: starts the nginx web server...
Aug 22 01:16:12 yimo nginx: Starting nginx...done
Aug 22 01:16:12 yimo systemd: Started LSB: starts the nginx web server.
root@yimo:~# sudo systemctl status php-fpm-82.service
● php-fpm-82.service - LSB: starts php-fpm
Loaded: loaded (/etc/init.d/php-fpm-82; generated)
Active: active (running) since Thu 2024-08-22 01:16:13 UTC; 1min 17s ago
Docs: man:systemd-sysv-generator(8)
Process: 809 ExecStart=/etc/init.d/php-fpm-82 start (code=exited, status=0/SUCCESS)
Tasks: 11 (limit: 9423)
Memory: 39.6M
CGroup: /system.slice/php-fpm-82.service
├─1676 php-fpm: master process (/www/server/php/82/etc/php-fpm.conf)
├─1678 php-fpm: pool www
├─1679 php-fpm: pool www
├─1680 php-fpm: pool www
├─1681 php-fpm: pool www
├─1682 php-fpm: pool www
├─1683 php-fpm: pool www
├─1684 php-fpm: pool www
├─1685 php-fpm: pool www
├─1686 php-fpm: pool www
└─1687 php-fpm: pool www
Aug 22 01:16:10 yimo systemd: Starting LSB: starts php-fpm...
Aug 22 01:16:12 yimo php-fpm-82: Starting php-fpm
Aug 22 01:16:12 yimo php-fpm-82: NOTICE: PHP message: PHP Warning:PHP Startup: Unable to load dynamic library 'gd' (tried: /www/server/php/82/>
Aug 22 01:16:12 yimo php-fpm-82: NOTICE: PHP message: PHP Warning:PHP Startup: Unable to load dynamic library 'mbstring' (tried: /www/server/p>
Aug 22 01:16:12 yimo php-fpm-82: NOTICE: PHP message: PHP Warning:PHP Startup: Unable to load dynamic library 'pdo_mysql' (tried: /www/server/>
Aug 22 01:16:12 yimo php-fpm-82: NOTICE: PHP message: PHP Warning:PHP Startup: Unable to load dynamic library 'soap' (tried: /www/server/php/8>
+Stopped sudo systemctl status php-fpm-82.service
yimo 发表于 2024-8-22 09:18
一觉起来啥也没动又变成了这样:
您好,您这个报错提示的是无法加载soap。这个应该是您php8.0的添加的参数吧 运维技术阿闯 发表于 2024-8-22 10:55
您好,您这个报错提示的是无法加载soap。这个应该是您php8.0的添加的参数吧 ...
之前启用了五个扩展:gmp、gd、mbstring、pdo_mysql、soap,后面四个都失效了 yimo 发表于 2024-8-22 11:20
之前启用了五个扩展:gmp、gd、mbstring、pdo_mysql、soap,后面四个都失效了
您好,重新启用这些扩展
页:
[1]