安装Discuz 报错,求解
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了安装Discuz 报错,求解相关的知识,希望对你有一定的参考价值。
如题l/usr/local/php/bin/phpizel
./configure --with-php-config=/usr/local/php/bin/php-config 配置这一步没问题。
接下来是 make ,就出错了
/usr/local/php/include/php/Zend/zend_execute.h:294: note: expected ‘struct zend_string *’ but argument is of type ‘char *’
/usr/local/src/php-5.6.24/ext/mysqli/mysqli.c:1264: error: too many arguments to function ‘zend_fetch_class’
/usr/local/src/php-5.6.24/ext/mysqli/mysqli.c:1284: warning: cast to pointer from integer of different size
/usr/local/src/php-5.6.24/ext/mysqli/mysqli.c:1284: error: expected expression before ‘)’ token
/usr/local/src/php-5.6.24/ext/mysqli/mysqli.c:1291: error: too many arguments to function ‘php_mysqli_fetch_into_hash_aux’
/usr/local/src/php-5.6.24/ext/mysqli/mysqli.c:1300: error: too many arguments to function ‘zend_merge_properties’
/usr/local/src/php-5.6.24/ext/mysqli/mysqli.c:1305: error: incompatible types when assigning to type ‘zval’ from type ‘void *’
/usr/local/src/php-5.6.24/ext/mysqli/mysqli.c:1307: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/usr/local/src/php-5.6.24/ext/mysqli/mysqli.c:1308: error: ‘zend_fcall_info’ has no member named ‘retval_ptr_ptr’
/usr/local/src/php-5.6.24/ext/mysqli/mysqli.c:1330: error: ‘zend_fcall_info_cache’ has no member named ‘object_ptr’
/usr/local/src/php-5.6.24/ext/mysqli/mysqli.c:1336: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type
/usr/local/php/include/php/Zend/zend_variables.h:112: note: expected ‘struct zval *’ but argument is of type ‘struct zval **’
make: *** [mysqli.lo] Error
本文出自 “CBO#Boy_Linux之路” 博客,转载请与作者联系!
以上是关于安装Discuz 报错,求解的主要内容,如果未能解决你的问题,请参考以下文章
discuz 上传附件提示Upload Error: 502错误 怎么解决