119977 发表于 2021-8-8 17:44:13

CentOS 7.9安装lnmp php7.4失败

在线版和完整版都下载了安装,都是php无法安装
附件太大,放在文叔叔了 https://ws28.cn/f/63mrfu8l605复制链接到浏览器打开
make: Leaving directory `/root/lnmp1.8-full/src/nginx-1.20.1'
chown: changing ownership of ‘/home/wwwroot/default/.user.ini’: Operation not permitted
mkdir: cannot create directory ‘/usr/local/nginx/conf/vhost’: File exists
include/nginx.sh: line 132: /home/wwwroot/default/.user.ini: Permission denied
chmod: changing permissions of ‘/home/wwwroot/default/.user.ini’: Operation not permitted
3.9+
Create PHP Info Tool...
Copy PHP Prober...
Copy Opcache Control Panel...
============================Install PHPMyAdmin=================================
============================phpMyAdmin install completed=======================
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* epel: mirror.dst.ca
* webtatic: us-east.repo.webtatic.com
Package iptables-services-1.4.21-35.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...
Created symlink from /etc/systemd/system/basic.target.wants/iptables.service to /usr/lib/systemd/system/iptables.service.
Add Startup and Starting LNMP...
Add nginx service at system startup...
Add mysql service at system startup...
Add php-fpm service at system startup...
============================== 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.

licess 发表于 2021-8-8 20:26:05

/root/lnmp1.8-full/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-full/src/php-7.4.21/ext/openssl/xp_ssl.c:1293: undefined reference to `SSL_CTX_get_options'
/root/lnmp1.8-full/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/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':
/root/lnmp1.8-full/src/php-7.4.21/ext/ftp/ftp.c:280: undefined reference to `TLS_client_method'
/root/lnmp1.8-full/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-full/src/php-7.4.21/ext/phar/util.c:1559: undefined reference to `EVP_MD_CTX_new'
/root/lnmp1.8-full/src/php-7.4.21/ext/phar/util.c:1593: undefined reference to `EVP_MD_CTX_free'
/root/lnmp1.8-full/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-full/src/php-7.4.21/ext/phar/util.c:1839: undefined reference to `EVP_MD_CTX_new'
/root/lnmp1.8-full/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: *** Error 1
你系统上的openssl自行升级过且升级的有问题导致的
页: [1]
查看完整版本: CentOS 7.9安装lnmp php7.4失败