lnmp1.7安装php失败
Centos7.6,只安装nginx和php,在数据库那里我选择了10,不安装数据库,安装 php7.4,结果 安装 失败了,看到错误是openssl?可是只有这个版本mysql才能编译成功,但是PHP却出问题了openssl的版本是 OpenSSL 1.1.1k25 Mar 2021/usr/local/include/openssl/x509.h:99: undefined reference to `OPENSSL_sk_num'
ext/openssl/.libs/xp_ssl.o: In function `php_openssl_setup_crypto':
/root/lnmp1.7-full/src/php-7.4.12/ext/openssl/xp_ssl.c:1662: undefined reference to `TLS_server_method'
/root/lnmp1.7-full/src/php-7.4.12/ext/openssl/xp_ssl.c:1719: undefined reference to `SSL_CTX_set_security_level'
/root/lnmp1.7-full/src/php-7.4.12/ext/openssl/xp_ssl.c:1662: undefined reference to `TLS_client_method'
/root/lnmp1.7-full/src/php-7.4.12/ext/openssl/xp_ssl.c:1756: undefined reference to `SSL_CTX_set_options'
ext/openssl/.libs/xp_ssl.o: In function `php_openssl_set_server_specific_opts':
/root/lnmp1.7-full/src/php-7.4.12/ext/openssl/xp_ssl.c:1335: undefined reference to `SSL_CTX_get_options'
/root/lnmp1.7-full/src/php-7.4.12/ext/openssl/xp_ssl.c:1362: 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.7-full/src/php-7.4.12/ext/ftp/ftp.c:275: undefined reference to `TLS_client_method'
/root/lnmp1.7-full/src/php-7.4.12/ext/ftp/ftp.c:284: undefined reference to `SSL_CTX_set_options'
ext/phar/.libs/util.o: In function `phar_verify_signature':
/root/lnmp1.7-full/src/php-7.4.12/ext/phar/util.c:1559: undefined reference to `EVP_MD_CTX_new'
/root/lnmp1.7-full/src/php-7.4.12/ext/phar/util.c:1593: undefined reference to `EVP_MD_CTX_free'
/root/lnmp1.7-full/src/php-7.4.12/ext/phar/util.c:1583: undefined reference to `EVP_MD_CTX_free'
ext/phar/.libs/util.o: In function `phar_create_signature':
/root/lnmp1.7-full/src/php-7.4.12/ext/phar/util.c:1839: undefined reference to `EVP_MD_CTX_new'
/root/lnmp1.7-full/src/php-7.4.12/ext/phar/util.c:1875: undefined reference to `EVP_MD_CTX_free'
collect2: error: ld returned 1 exit status
你自行升级openssl导致的,你自己升级了系统的openssl有什么用途? licess 发表于 2021-5-25 08:00
你自行升级openssl导致的,你自己升级了系统的openssl有什么用途?
waf报openssl漏洞,解决方案就是升级到最新版 sandm 发表于 2021-5-25 08:45
waf报openssl漏洞,解决方案就是升级到最新版
不升级并没什么影响
有可能你升级步骤有问题
页:
[1]