chen_ 发表于 2017-6-4 11:48:00

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

CentOS 6.5

nginx-1.12.0
mysql-5.5.56
php-5.6.30

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

licess 发表于 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: *** Error 1
之前已经说过京东云openssl版本过高,可以论坛自行搜索:京东云 查看解决方法
页: [1]
查看完整版本: 求助!cenos6.5 64位 下用lnmp1.4 安装时php5.6.30安装出错,附log