VPS侦探论坛

 找回密码
 注册
查看: 3888|回复: 1

CentOS 7.9安装lnmp php7.4失败

[复制链接]
发表于 2021-8-8 17:44:13 | 显示全部楼层 |阅读模式

在线版和完整版都下载了安装,都是php无法安装
附件太大,放在文叔叔了 https://ws28.cn/f/63mrfu8l605  复制链接到浏览器打开
  1. make[1]: Leaving directory `/root/lnmp1.8-full/src/nginx-1.20.1'
  2. chown: changing ownership of ‘/home/wwwroot/default/.user.ini’: Operation not permitted
  3. mkdir: cannot create directory ‘/usr/local/nginx/conf/vhost’: File exists
  4. include/nginx.sh: line 132: /home/wwwroot/default/.user.ini: Permission denied
  5. chmod: changing permissions of ‘/home/wwwroot/default/.user.ini’: Operation not permitted
  6. 3.9+
  7. Create PHP Info Tool...
  8. Copy PHP Prober...
  9. Copy Opcache Control Panel...
  10. ============================Install PHPMyAdmin=================================
  11. ============================phpMyAdmin install completed=======================
  12. Loaded plugins: fastestmirror
  13. Loading mirror speeds from cached hostfile
  14. * epel: mirror.dst.ca
  15. * webtatic: us-east.repo.webtatic.com
  16. Package iptables-services-1.4.21-35.el7.x86_64 already installed and latest version
  17. Nothing to do
  18. iptables: Saving firewall rules to /etc/sysconfig/iptables: [  OK  ]

  19. Redirecting to /bin/systemctl reload iptables.service
  20. Job for iptables.service invalid.
  21. Add iptables service at system startup...
  22. Created symlink from /etc/systemd/system/basic.target.wants/iptables.service to /usr/lib/systemd/system/iptables.service.
  23. Add Startup and Starting LNMP...
  24. Add nginx service at system startup...
  25. Add mysql service at system startup...
  26. Add php-fpm service at system startup...
  27. ============================== Check install ==============================
  28. Checking ...
  29. Nginx: OK
  30. MySQL: OK
  31. Error: PHP install failed.
  32. Sorry, Failed to install LNMP!
  33. Please visit https://bbs.vpser.net/forum-25-1.html feedback errors and logs.
  34. You can download /root/lnmp-install.log from your server,and upload lnmp-install.log to LNMP Forum.
复制代码

美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 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: *** [sapi/fpm/php-fpm] Error 1

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

本版积分规则

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

GMT+8, 2024-11-24 14:25 , Processed in 0.024849 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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