VPS侦探论坛

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

求助!cenos6.5 64位 下用lnmp1.4 安装时php5.6.30安装出错,附log

[复制链接]
发表于 2017-6-4 11:48:00 | 显示全部楼层 |阅读模式

CentOS 6.5

nginx-1.12.0
mysql-5.5.56
php-5.6.30

安装nginx与mysql居成功, 唯有php安装失败。我编译安装时,也是php没安装成功,在make这一步骤时显示  make: *** [ext/openssl/openssl.lo] Error 1 但我已经安装了 openssl.
用一键安装包安装时,php也没能安装成功。

本帖子中包含更多资源

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

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


/usr/local/src/lnmp1.4/src/php-5.6.30/ext/openssl/openssl.c: In function ‘add_assoc_name_entry’:
/usr/local/src/lnmp1.4/src/php-5.6.30/ext/openssl/openssl.c:664: warning: ‘ASN1_STRING_data’ is deprecated (declared at /usr/local/include/openssl/asn1.h:553)
/usr/local/src/lnmp1.4/src/php-5.6.30/ext/openssl/openssl.c: In function ‘asn1_time_to_time_t’:
/usr/local/src/lnmp1.4/src/php-5.6.30/ext/openssl/openssl.c:717: warning: ‘ASN1_STRING_data’ is deprecated (declared at /usr/local/include/openssl/asn1.h:553)
/usr/local/src/lnmp1.4/src/php-5.6.30/ext/openssl/openssl.c:732: warning: ‘ASN1_STRING_data’ is deprecated (declared at /usr/local/include/openssl/asn1.h:553)
/usr/local/src/lnmp1.4/src/php-5.6.30/ext/openssl/openssl.c: In function ‘php_openssl_get_evp_md_from_algo’:
/usr/local/src/lnmp1.4/src/php-5.6.30/ext/openssl/openssl.c:1057: warning: cast to pointer from integer of different size
/usr/local/src/lnmp1.4/src/php-5.6.30/ext/openssl/openssl.c: In function ‘zif_openssl_spki_export_challenge’:
/usr/local/src/lnmp1.4/src/php-5.6.30/ext/openssl/openssl.c:1726: warning: ‘ASN1_STRING_data’ is deprecated (declared at /usr/local/include/openssl/asn1.h:553)
/usr/local/src/lnmp1.4/src/php-5.6.30/ext/openssl/openssl.c: In function ‘openssl_x509v3_subjectAltName’:
/usr/local/src/lnmp1.4/src/php-5.6.30/ext/openssl/openssl.c:1904: error: dereferencing pointer to incomplete type
/usr/local/src/lnmp1.4/src/php-5.6.30/ext/openssl/openssl.c:1905: error: dereferencing pointer to incomplete type
...............
/usr/local/src/lnmp1.4/src/php-5.6.30/ext/openssl/openssl.c:5316: error: storage size of ‘cipher_ctx’ isn’t known
/usr/local/src/lnmp1.4/src/php-5.6.30/ext/openssl/openssl.c: In function ‘zif_openssl_dh_compute_key’:
/usr/local/src/lnmp1.4/src/php-5.6.30/ext/openssl/openssl.c:5436: error: dereferencing pointer to incomplete type
/usr/local/src/lnmp1.4/src/php-5.6.30/ext/openssl/openssl.c:5436: error: dereferencing pointer to incomplete type
/usr/local/src/lnmp1.4/src/php-5.6.30/ext/openssl/openssl.c:5442: error: dereferencing pointer to incomplete type
/usr/local/src/lnmp1.4/src/php-5.6.30/ext/openssl/openssl.c:5443: error: dereferencing pointer to incomplete type
make: *** [ext/openssl/openssl.lo] Error 1

之前已经说过京东云openssl版本过高,可以论坛自行搜索:京东云 查看解决方法
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-17 18:40 , Processed in 0.026239 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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