- 积分
- 117977
- 威望
-
- 金钱
-
- 注册时间
- 2009-4-24
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
发表于 2017-6-25 10:28:53
|
显示全部楼层
/home/software/lnmp1.4/src/php-5.5.38/ext/openssl/openssl.c: In function ‘zif_openssl_encrypt’:
/home/software/lnmp1.4/src/php-5.5.38/ext/openssl/openssl.c:4912:17: error: storage size of ‘cipher_ctx’ isn’t known
EVP_CIPHER_CTX cipher_ctx;
^
/home/software/lnmp1.4/src/php-5.5.38/ext/openssl/openssl.c: In function ‘zif_openssl_decrypt’:
/home/software/lnmp1.4/src/php-5.5.38/ext/openssl/openssl.c:4991:17: error: storage size of ‘cipher_ctx’ isn’t known
EVP_CIPHER_CTX cipher_ctx;
^
/home/software/lnmp1.4/src/php-5.5.38/ext/openssl/openssl.c: In function ‘zif_openssl_dh_compute_key’:
/home/software/lnmp1.4/src/php-5.5.38/ext/openssl/openssl.c:5111:33: error: dereferencing pointer to incomplete type
if (!pkey || EVP_PKEY_type(pkey->type) != EVP_PKEY_DH || !pkey->pkey.dh) {
^
/home/software/lnmp1.4/src/php-5.5.38/ext/openssl/openssl.c:5111:64: error: dereferencing pointer to incomplete type
if (!pkey || EVP_PKEY_type(pkey->type) != EVP_PKEY_DH || !pkey->pkey.dh) {
^
In file included from /home/software/lnmp1.4/src/php-5.5.38/Zend/zend.h:252:0,
from /home/software/lnmp1.4/src/php-5.5.38/main/php.h:34,
from /home/software/lnmp1.4/src/php-5.5.38/ext/openssl/openssl.c:29:
/home/software/lnmp1.4/src/php-5.5.38/ext/openssl/openssl.c:5117:29: error: dereferencing pointer to incomplete type
data = emalloc(DH_size(pkey->pkey.dh) + 1);
^
/home/software/lnmp1.4/src/php-5.5.38/Zend/zend_alloc.h:70:38: note: in definition of macro ‘emalloc’
#define emalloc(size) _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^
/home/software/lnmp1.4/src/php-5.5.38/ext/openssl/openssl.c:5118: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 version 看一下版本多少
建议换个centos版本或者php版本试试
这边测试过很多商家的centos7,你这个是哪家的 |
|