Build failed with php 7

paksociety

Verified User
Joined
Jul 11, 2013
Messages
89
HI.
i am trying to update to php 7.
using nginx_apache as webserver on centos 64 server.

here is last lines before error

/usr/local/php70/include/php/Zend/zend_ini.h:77: note: expected 'int' but argument is of type 'char *'
/usr/local/directadmin/custombuild/htscanner-1.0.1/htscanner.c:366: error: too many arguments to function 'zend_alter_ini_entry'
/usr/local/directadmin/custombuild/htscanner-1.0.1/htscanner.c:409:96: error: macro "zend_hash_update" passed 6 arguments, but takes just 3
/usr/local/directadmin/custombuild/htscanner-1.0.1/htscanner.c:409: error: 'zend_hash_update' undeclared (first use in this function)
make: *** [htscanner.lo] Error 1

*** The make has failed, would you like to try to make again? (y,n):

is htscanner is not compatible or what? how to resolve issue?


Regards
 
Yes, it's unsupported in PHP7. I'll make CB 2.0 throw an error if PHP 7.0 + htscanner is set in the options.conf file. Compatibility might be brought for PHP7 in the future (likely by http://gophp7.org/gophp7-ext/).
 
Back
Top