首页 > 代码库 > 安装Discuz 报错,求解

安装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 报错,求解