VPS侦探论坛

 找回密码
 注册
查看: 2680|回复: 9

lnmp1.9安装php7.4.30失败

[复制链接]
发表于 2022-7-25 10:43:23 | 显示全部楼层 |阅读模式

lnmp1.9安装php7.4.30失败


补充内容 (2022-7-25 13:52):
chown: 正在更改"/home/wwwroot/default/.user.ini" 的所有者: 不允许的操作
mkdir: 无法创建目录"/usr/local/nginx/conf/vhost": 文件已存在
include/nginx.sh:行157: /home/wwwroot/...
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2022-7-25 12:49:11 | 显示全部楼层


猜不出来,问题反馈必读已经明确说明了
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2022-7-25 14:08:18 | 显示全部楼层

make[1]: 离开目录“/home/lnmp1.9/src/nginx-1.22.0”
chown: 正在更改"/home/wwwroot/default/.user.ini" 的所有者: 不允许的操作
mkdir: 无法创建目录"/usr/local/nginx/conf/vhost": 文件已存在
include/nginx.sh:行157: /home/wwwroot/default/.user.ini: 权限不够
chmod: 更改"/home/wwwroot/default/.user.ini" 的权限: 不允许的操作
3.9+
Create PHP Info Tool...
Copy PHP Prober...
Copy Opcache Control Panel...
============================Install PHPMyAdmin=================================
============================phpMyAdmin install completed=======================
已加载插件:fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.nju.edu.cn
* extras: mirrors.aliyun.com
* updates: mirrors.ustc.edu.cn
软件包 iptables-services-1.4.21-35.el7.x86_64 已安装并且是最新版本
无须任何处理
iptables: Saving firewall rules to /etc/sysconfig/iptables: [  确定  ]
Redirecting to /bin/systemctl reload iptables.service
Job for iptables.service invalid.
Add iptables service at system startup...
Add Startup and Starting LNMP...
Add nginx service at system startup...
Add php-fpm service at system startup...
============================== Check install ==============================
Checking ...
Nginx: OK
Do not install MySQL/MariaDB.
Error: PHP install failed.
Sorry, Failed to install LNMP!
Please visit https://bbs.vpser.net/forum-25-1.html feedback errors and logs.
You can download /root/lnmp-install.log from your server,and upload lnmp-install.log to LNMP Forum
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2022-7-26 09:18:00 | 显示全部楼层



lzq 发表于 2022-7-25 14:08
make[1]: 离开目录“/home/lnmp1.9/src/nginx-1.22.0”
chown: 正在更改"/home/wwwroot/default/.user.ini" ...

按反馈必读要求上传安装日志
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2022-7-26 09:41:31 | 显示全部楼层

licess 发表于 2022-7-26 09:18
按反馈必读要求上传安装日志

https://tmp.link/f/62df46049a981
这个是安装日志

军哥运维代购:http://shop63846532.taobao.com/

发表于 2022-7-26 19:55:11 | 显示全部楼层

lzq 发表于 2022-7-26 09:41
https://tmp.link/f/62df46049a981
这个是安装日志
/home/lnmp1.9/src/php-7.4.30/ext/openssl/xp_ssl.c:1362: undefined reference to `TLS_server_method'
ext/openssl/.libs/xp_ssl.o: In function `sk_X509_num':
/usr/include/openssl/x509.h:99: undefined reference to `OPENSSL_sk_num'
ext/openssl/.libs/xp_ssl.o: In function `sk_X509_value':
/usr/include/openssl/x509.h:99: undefined reference to `OPENSSL_sk_value'
ext/openssl/.libs/xp_ssl.o: In function `sk_X509_num':
/usr/include/openssl/x509.h:99: undefined reference to `OPENSSL_sk_num'
ext/openssl/.libs/xp_ssl.o: In function `php_openssl_setup_crypto':
/home/lnmp1.9/src/php-7.4.30/ext/openssl/xp_ssl.c:1620: undefined reference to `TLS_server_method'
/home/lnmp1.9/src/php-7.4.30/ext/openssl/xp_ssl.c:1677: undefined reference to `SSL_CTX_set_security_level'
/home/lnmp1.9/src/php-7.4.30/ext/openssl/xp_ssl.c:1620: undefined reference to `TLS_client_method'
/home/lnmp1.9/src/php-7.4.30/ext/openssl/xp_ssl.c:1714: undefined reference to `SSL_CTX_set_options'
ext/openssl/.libs/xp_ssl.o: In function `php_openssl_set_server_specific_opts':
/home/lnmp1.9/src/php-7.4.30/ext/openssl/xp_ssl.c:1293: undefined reference to `SSL_CTX_get_options'
/home/lnmp1.9/src/php-7.4.30/ext/openssl/xp_ssl.c:1320: undefined reference to `SSL_CTX_set_options'
ext/openssl/.libs/xp_ssl.o: In function `sk_GENERAL_NAME_num':
/usr/include/openssl/x509v3.h:166: undefined reference to `OPENSSL_sk_num'
ext/openssl/.libs/xp_ssl.o: In function `sk_GENERAL_NAME_value':
/usr/include/openssl/x509v3.h:166: undefined reference to `OPENSSL_sk_value'
ext/openssl/.libs/xp_ssl.o: In function `sk_GENERAL_NAME_pop_free':
/usr/include/openssl/x509v3.h:166: undefined reference to `OPENSSL_sk_pop_free'
/usr/include/openssl/x509v3.h:166: undefined reference to `OPENSSL_sk_pop_free'
/usr/include/openssl/x509v3.h:166: undefined reference to `OPENSSL_sk_pop_free'
ext/ftp/.libs/ftp.o: In function `ftp_login':
/home/lnmp1.9/src/php-7.4.30/ext/ftp/ftp.c:280: undefined reference to `TLS_client_method'
/home/lnmp1.9/src/php-7.4.30/ext/ftp/ftp.c:289: undefined reference to `SSL_CTX_set_options'
ext/gd/libgd/.libs/gdkanji.o: In function `do_convert':
/home/lnmp1.9/src/php-7.4.30/ext/gd/libgd/gdkanji.c:347: undefined reference to `libiconv_open'
/home/lnmp1.9/src/php-7.4.30/ext/gd/libgd/gdkanji.c:360: undefined reference to `libiconv'
/home/lnmp1.9/src/php-7.4.30/ext/gd/libgd/gdkanji.c:374: undefined reference to `libiconv_close'
ext/phar/.libs/util.o: In function `phar_verify_signature':
/home/lnmp1.9/src/php-7.4.30/ext/phar/util.c:1559: undefined reference to `EVP_MD_CTX_new'
/home/lnmp1.9/src/php-7.4.30/ext/phar/util.c:1593: undefined reference to `EVP_MD_CTX_free'
/home/lnmp1.9/src/php-7.4.30/ext/phar/util.c:1583: undefined reference to `EVP_MD_CTX_free'
ext/phar/.libs/util.o: In function `phar_create_signature':
/home/lnmp1.9/src/php-7.4.30/ext/phar/util.c:1839: undefined reference to `EVP_MD_CTX_new'
/home/lnmp1.9/src/php-7.4.30/ext/phar/util.c:1875: undefined reference to `EVP_MD_CTX_free'
ext/xmlrpc/libxmlrpc/.libs/encodings.o: In function `convert':
/home/lnmp1.9/src/php-7.4.30/ext/xmlrpc/libxmlrpc/encodings.c:63: undefined reference to `libiconv_open'
/home/lnmp1.9/src/php-7.4.30/ext/xmlrpc/libxmlrpc/encodings.c:70: undefined reference to `libiconv'
/home/lnmp1.9/src/php-7.4.30/ext/xmlrpc/libxmlrpc/encodings.c:86: undefined reference to `libiconv_close'
/home/lnmp1.9/src/php-7.4.30/ext/xmlrpc/libxmlrpc/encodings.c:86: undefined reference to `libiconv_close'

自行升级系统openssl导致的
 楼主| 发表于 2022-7-27 11:06:03 | 显示全部楼层

licess 发表于 2022-7-26 19:55
自行升级系统openssl导致的

好的,谢谢,目前已经自己编译安装了
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2022-7-28 18:47:52 | 显示全部楼层

我的也是升级了openssl 导致各种问题。 请问你是如何解决的?
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2022-7-28 18:48:23 | 显示全部楼层


lzq 发表于 2022-7-27 11:06
好的,谢谢,目前已经自己编译安装了

编译也不通过,有同样问题,请问是如何解决的? 感激
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2022-8-17 09:26:35 | 显示全部楼层



hmm 发表于 2022-7-28 18:48
编译也不通过,有同样问题,请问是如何解决的? 感激

编译有些依赖这些也是要额外安装和升级的
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-5 19:34 , Processed in 0.029116 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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