koko6636 发表于 2020-11-14 16:00:32

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

本帖最后由 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:
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!
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.


koko6636 发表于 2020-11-14 16:01:40

make: *** 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'

licess 发表于 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上好像也有兼容性问题
页: [1]
查看完整版本: 用教程给的离线安装办法,报Error: PHP install failed.错误