VPS侦探论坛

 找回密码
 注册
查看: 243|回复: 2

用教程给的离线安装办法,报Error: PHP install failed.错误

[复制链接]
发表于 2020-11-14 16:00:32 | 显示全部楼层 |阅读模式



本帖最后由 koko6636 于 2020-11-14 16:05 编辑

用教程给的离线安装办法,报Error: PHP install failed.错误,急求解决办法。
安装日志:https://cowtransfer.com/s/e30e9961739149 首页输入取件码:783155(24小时内有效)

============================phpMyAdmin install completed=======================
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Package iptables-services-1.4.21-28.el7.x86_64 already installed and latest version
Nothing to do
iptables: Saving firewall rules to /etc/sysconfig/iptables: [  OK  ]
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...
Starting nginx... nginx (pid 96828) already running.
Add mysql service at system startup...
Starting MySQL.Logging to '/usr/local/mysql/var/h7670.err'.
ERROR! The server quit without updating PID file (/usr/local/mysql/var/h7670.pid).
Add php-fpm service at system startup...
Starting php-fpm /etc/init.d/php-fpm: line 57: /usr/local/php/sbin/php-fpm: No such file or directory
failed
============================== Check install ==============================
Checking ...
Nginx: OK
MySQL: OK
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推荐: 遨游主机LinodeLOCVPSKVMLAVPS2EZ搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2020-11-14 16:01:40 | 显示全部楼层


make: *** [sapi/cli/php] Error 1
make: *** Waiting for unfinished jobs....
ext/openssl/.libs/openssl.o: In function `zm_startup_openssl':
/home/xtgsadmin/lnmp1.7-full/src/php-7.0.33/ext/openssl/openssl.c:1353: undefined reference to `OPENSSL_init_ssl'
/home/xtgsadmin/lnmp1.7-full/src/php-7.0.33/ext/openssl/openssl.c:1354: undefined reference to `OPENSSL_init_crypto'
/home/xtgsadmin/lnmp1.7-full/src/php-7.0.33/ext/openssl/openssl.c:1355: undefined reference to `OPENSSL_init_crypto'
/home/xtgsadmin/lnmp1.7-full/src/php-7.0.33/ext/openssl/openssl.c:1356: undefined reference to `OPENSSL_init_crypto'
/home/xtgsadmin/lnmp1.7-full/src/php-7.0.33/ext/openssl/openssl.c:1358: undefined reference to `OPENSSL_init_ssl'
ext/openssl/.libs/openssl.o: In function `zm_info_openssl':
/home/xtgsadmin/lnmp1.7-full/src/php-7.0.33/ext/openssl/openssl.c:1496: undefined reference to `OpenSSL_version'
ext/openssl/.libs/openssl.o: In function `php_openssl_is_private_key':
/home/xtgsadmin/lnmp1.7-full/src/php-7.0.33/ext/openssl/openssl.c:3834: undefined reference to `EVP_PKEY_get0_EC_KEY'
/home/xtgsadmin/lnmp1.7-full/src/php-7.0.33/ext/openssl/openssl.c:3794: undefined reference to `EVP_PKEY_get0_DSA'
/home/xtgsadmin/lnmp1.7-full/src/php-7.0.33/ext/openssl/openssl.c:3798: undefined reference to `DSA_get0_pqg'
/home/xtgsadmin/lnmp1.7-full/src/php-7.0.33/ext/openssl/openssl.c:3803: undefined reference to `DSA_get0_key'
/home/xtgsadmin/lnmp1.7-full/src/php-7.0.33/ext/openssl/openssl.c:3814: undefined reference to `EVP_PKEY_get0_DH'
/home/xtgsadmin/lnmp1.7-full/src/php-7.0.33/ext/openssl/openssl.c:3818: undefined reference to `DH_get0_pqg'
/home/xtgsadmin/lnmp1.7-full/src/php-7.0.33/ext/openssl/openssl.c:3823: undefined reference to `DH_get0_key'
/home/xtgsadmin/lnmp1.7-full/src/php-7.0.33/ext/openssl/openssl.c:3775: undefined reference to `EVP_PKEY_get0_RSA'
/home/xtgsadmin/lnmp1.7-full/src/php-7.0.33/ext/openssl/openssl.c:3779: undefined reference to `RSA_get0_factors'
ext/openssl/.libs/openssl.o: In function `zif_openssl_spki_export_challenge':
/home/xtgsadmin/lnmp1.7-full/src/php-7.0.33/ext/openssl/openssl.c:1954: undefined reference to `ASN1_STRING_get0_data'
ext/openssl/.libs/openssl.o: In function `add_assoc_name_entry':
/home/xtgsadmin/lnmp1.7-full/src/php-7.0.33/ext/openssl/openssl.c:841: undefined reference to `ASN1_STRING_get0_data'
ext/openssl/.libs/openssl.o: In function `asn1_time_to_time_t':
/home/xtgsadmin/lnmp1.7-full/src/php-7.0.33/ext/openssl/openssl.c:903: undefined reference to `ASN1_STRING_get0_data'
/home/xtgsadmin/lnmp1.7-full/src/php-7.0.33/ext/openssl/openssl.c:918: undefined reference to `ASN1_STRING_get0_data'
/home/xtgsadmin/lnmp1.7-full/src/php-7.0.33/ext/openssl/openssl.c:918: undefined reference to `ASN1_STRING_get0_data'
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2020-11-14 19:59:11 | 显示全部楼层



/usr/local/mysql/bin/mysqld: /usr/lib64/libssl.so.1.1: version `OPENSSL_1_1_1' not found (required by /usr/local/mysql/bin/mysqld)
Starting MySQL.Logging to '/usr/local/mysql/var/h7670.err'.
ERROR! The server quit without updating PID file (/usr/local/mysql/var/h7670.pid).
ERROR! MySQL server PID file could not be found!
Starting MySQL.Logging to '/usr/local/mysql/var/h7670.err'.
ERROR! The server quit without updating PID file (/usr/local/mysql/var/h7670.pid).
/usr/local/mysql/bin/mysqladmin: /usr/lib64/libssl.so.1.1: version `OPENSSL_1_1_1' not found (required by /usr/local/mysql/bin/mysqladmin)

你系统上的openssl自己升级到openssl 1.1.1,而且升级过程设置有问题,继而造成的无法安装,另外低于7.1版本在openssl 1.1.1上好像也有兼容性问题
美国VPS推荐: 遨游主机LinodeLOCVPSKVMLAVPS2EZ搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2020-11-25 08:20 , Processed in 0.093623 second(s), 27 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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