VPS侦探论坛

 找回密码
 注册
查看: 3099|回复: 3

LNMP 1.8 安装失败,请求协助解决

[复制链接]
发表于 2022-3-16 18:23:42 | 显示全部楼层 |阅读模式

主机 : centos 7.9 x64
错误情况见附件。

https://wss1.cn/f/7ufslbt2299 复制链接到浏览器打开
取件码:qepb9
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2022-3-16 20:19:24 | 显示全部楼层


--2022-03-16 17:03:33--  https://soft.vpser.net/web/php/php-7.3.29.tar.bz2
正在解析主机 soft.vpser.net (soft.vpser.net)... 失败:未知的名称或服务。
wget: 无法解析主机地址 “soft.vpser.net”

下载php源码时你机器并未正常解析出ip导致的,可能你机器上设置dns暂时有问题导致
临时问题的话重新安装就可以了
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2022-3-16 21:51:43 | 显示全部楼层

licess 发表于 2022-3-16 20:19
下载php源码时你机器并未正常解析出ip导致的,可能你机器上设置dns暂时有问题导致
临时问题的话重新安装就 ...

添加了新的DNS,之前的报错应该解决了,但是还是PHP安装失败了。
https://wss1.cn/f/7uhcpxa5q0d 复制链接到浏览器打开

补充内容 (2022-3-16 22:05):
不知道是否跟我更新了OpenSSL和openssh有关系?

补充内容 (2022-3-16 22:06):
[root@localhost lnmp1.8]# ssh -V
OpenSSH_8.8p1, OpenSSL 1.1.1m  14 Dec 2021
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2022-3-17 09:02:21 | 显示全部楼层



inertgas 发表于 2022-3-16 21:51
添加了新的DNS,之前的报错应该解决了,但是还是PHP安装失败了。
https://wss1.cn/f/7uhcpxa5q0d 复制链 ...
ext/openssl/.libs/openssl.o: In function `zm_startup_openssl':
/root/lnmp1.8/src/php-7.4.21/ext/openssl/openssl.c:1471: undefined reference to `OPENSSL_init_ssl'
ext/openssl/.libs/openssl.o: In function `php_openssl_asn1_time_to_time_t':
/root/lnmp1.8/src/php-7.4.21/ext/openssl/openssl.c:973: undefined reference to `ASN1_STRING_get0_data'
/root/lnmp1.8/src/php-7.4.21/ext/openssl/openssl.c:988: undefined reference to `ASN1_STRING_get0_data'
/root/lnmp1.8/src/php-7.4.21/ext/openssl/openssl.c:988: undefined reference to `ASN1_STRING_get0_data'
ext/openssl/.libs/openssl.o: In function `sk_X509_pop':
/usr/local/include/openssl/x509.h:99: undefined reference to `OPENSSL_sk_pop'
。。。。。。
/root/lnmp1.8/src/php-7.4.21/ext/openssl/xp_ssl.c:1620: undefined reference to `TLS_server_method'
/root/lnmp1.8/src/php-7.4.21/ext/openssl/xp_ssl.c:1677: undefined reference to `SSL_CTX_set_security_level'
/root/lnmp1.8/src/php-7.4.21/ext/openssl/xp_ssl.c:1620: undefined reference to `TLS_client_method'
/root/lnmp1.8/src/php-7.4.21/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':
/root/lnmp1.8/src/php-7.4.21/ext/openssl/xp_ssl.c:1293: undefined reference to `SSL_CTX_get_options'
/root/lnmp1.8/src/php-7.4.21/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/local/include/openssl/x509v3.h:166: undefined reference to `OPENSSL_sk_num'
ext/openssl/.libs/xp_ssl.o: In function `sk_GENERAL_NAME_value':
/usr/local/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/local/include/openssl/x509v3.h:166: undefined reference to `OPENSSL_sk_pop_free'
/usr/local/include/openssl/x509v3.h:166: undefined reference to `OPENSSL_sk_pop_free'
/usr/local/include/openssl/x509v3.h:166: undefined reference to `OPENSSL_sk_pop_free'
ext/ftp/.libs/ftp.o: In function `ftp_login':
/root/lnmp1.8/src/php-7.4.21/ext/ftp/ftp.c:280: undefined reference to `TLS_client_method'
/root/lnmp1.8/src/php-7.4.21/ext/ftp/ftp.c:289: undefined reference to `SSL_CTX_set_options'
ext/phar/.libs/util.o: In function `phar_verify_signature':
/root/lnmp1.8/src/php-7.4.21/ext/phar/util.c:1559: undefined reference to `EVP_MD_CTX_new'
/root/lnmp1.8/src/php-7.4.21/ext/phar/util.c:1593: undefined reference to `EVP_MD_CTX_free'
/root/lnmp1.8/src/php-7.4.21/ext/phar/util.c:1583: undefined reference to `EVP_MD_CTX_free'
ext/phar/.libs/util.o: In function `phar_create_signature':
/root/lnmp1.8/src/php-7.4.21/ext/phar/util.c:1839: undefined reference to `EVP_MD_CTX_new'
/root/lnmp1.8/src/php-7.4.21/ext/phar/util.c:1875: undefined reference to `EVP_MD_CTX_free'
collect2: error: ld returned 1 exit status
make: *** [sapi/fpm/php-fpm] 错误 1

你自行升级的openssl有问题
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-20 14:25 , Processed in 0.026411 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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