VPS侦探论坛

 找回密码
 注册
查看: 4732|回复: 8

京东云安装lnmp失败

[复制链接]
发表于 2017-4-15 16:38:01 | 显示全部楼层 |阅读模式

Checking ...
Error: Nginx install failed.
MySQL: OK
Error: PHP install failed.
Sorry, Failed to install LNMP!
Please visit http://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.

安装几次一直失败,请问是什么原因

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2017-4-15 19:46:14 | 显示全部楼层


/root/lnmp1.3-full/src/php-5.4.45/ext/openssl/openssl.c: In function 鈥榸if_openssl_decrypt鈥?
/root/lnmp1.3-full/src/php-5.4.45/ext/openssl/openssl.c:4925:17: error: storage size of 鈥榗ipher_ctx鈥?isn鈥檛 known
  EVP_CIPHER_CTX cipher_ctx;
                 ^
/root/lnmp1.3-full/src/php-5.4.45/ext/openssl/openssl.c: In function 鈥榸if_openssl_dh_compute_key鈥?
/root/lnmp1.3-full/src/php-5.4.45/ext/openssl/openssl.c:5045:33: error: dereferencing pointer to incomplete type
  if (!pkey || EVP_PKEY_type(pkey->type) != EVP_PKEY_DH || !pkey->pkey.dh) {
                                 ^
/root/lnmp1.3-full/src/php-5.4.45/ext/openssl/openssl.c:5045:64: error: dereferencing pointer to incomplete type
  if (!pkey || EVP_PKEY_type(pkey->type) != EVP_PKEY_DH || !pkey->pkey.dh) {
                                                                ^
In file included from /root/lnmp1.3-full/src/php-5.4.45/Zend/zend.h:237:0,
                 from /root/lnmp1.3-full/src/php-5.4.45/main/php.h:34,
                 from /root/lnmp1.3-full/src/php-5.4.45/ext/openssl/openssl.c:29:
/root/lnmp1.3-full/src/php-5.4.45/ext/openssl/openssl.c:5051:29: error: dereferencing pointer to incomplete type
  data = emalloc(DH_size(pkey->pkey.dh) + 1);
                             ^
/root/lnmp1.3-full/src/php-5.4.45/Zend/zend_alloc.h:70:38: note: in definition of macro 鈥榚malloc鈥? #define emalloc(size)      _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                                      ^
/root/lnmp1.3-full/src/php-5.4.45/ext/openssl/openssl.c:5052:54: error: dereferencing pointer to incomplete type
  len = DH_compute_key((unsigned char*)data, pub, pkey->pkey.dh);
                                                      ^
make: *** [ext/openssl/openssl.lo] Error 1

动过openssl吗,看日志是openssl的问题
你执行 openssl version 看看openssl版本
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2017-4-15 21:11:08 | 显示全部楼层

[root@jdu4e00u53f7 lnmp1.3-full]#  openssl version
OpenSSL 1.1.0b  26 Sep 2016

没有动过,是购买后默认的centos7.2 64位系统
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2017-4-16 19:31:09 | 显示全部楼层

回复 3# 的帖子




centos 7.2自带的都是1.0.1,1.1.0是很新的版本也不是lts版本很少有发行版默认使用
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2017-4-16 20:32:23 | 显示全部楼层

但是我又试了6.8也是不行?要换别的版本吗

军哥运维代购:http://shop63846532.taobao.com/

发表于 2017-4-17 08:35:46 | 显示全部楼层

回复 5# 的帖子


自己没动那就是服务商做模板时他们自己弄的,换debian或ubuntu试试
发表于 2017-4-23 05:43:47 | 显示全部楼层

原帖由 licess 于 2017-4-16 19:31 发表
centos 7.2自带的都是1.0.1,1.1.0是很新的版本也不是lts版本很少有发行版默认使用
最新的7.1.5应该OK...https://bugs.php.net/bug.php?id=74378
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2017-4-23 06:02:13 | 显示全部楼层

回复 6# 的帖子


京东的模板应该也是祥云给的...我看了下他们连IP都直接用的祥云
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2017-4-23 17:08:03 | 显示全部楼层

回复 4# 的帖子


其他地方7.3带的1.0.2也没任何问题

军哥运维代购:http://shop63846532.taobao.com/

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-27 07:16 , Processed in 0.028874 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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