Hello,
I have a problem with new clean DirectAdmin installation.
I chose this option:
Would you like the default settings of apache 2.4 and php 5.6 cli? (y/n): y
And: suhosin install - yes
There was an error during installation:
OS: Debian 8.2, 64 bit
PHP Versions: 5.6 and 7.0 with php-fpm
How can I fix it, keeping suhosin?
I have a problem with new clean DirectAdmin installation.
I chose this option:
Would you like the default settings of apache 2.4 and php 5.6 cli? (y/n): y
And: suhosin install - yes
There was an error during installation:
Code:
/usr/local/php70/include/php/Zend/zend_hash.h:154:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^
/usr/local/directadmin/custombuild/suhosin-0.9.38/suhosin.c:1206:42: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type
if (zend_hash_find(EG(ini_directives), "suhosin.rand.seedingkey", sizeof("suhosin.rand.seedingkey"), (void **) &i)==SUCCESS) {
^
In file included from /usr/local/php70/include/php/Zend/zend.h:36:0,
from /usr/local/php70/include/php/main/php.h:35,
from /usr/local/directadmin/custombuild/suhosin-0.9.38/suhosin.c:26:
/usr/local/php70/include/php/Zend/zend_hash.h:154:30: note: expected 'struct zend_string *' but argument is of type 'char *'
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^
/usr/local/directadmin/custombuild/suhosin-0.9.38/suhosin.c:1206:7: error: too many arguments to function 'zend_hash_find'
if (zend_hash_find(EG(ini_directives), "suhosin.rand.seedingkey", sizeof("suhosin.rand.seedingkey"), (void **) &i)==SUCCESS) {
^
In file included from /usr/local/php70/include/php/Zend/zend.h:36:0,
from /usr/local/php70/include/php/main/php.h:35,
from /usr/local/directadmin/custombuild/suhosin-0.9.38/suhosin.c:26:
/usr/local/php70/include/php/Zend/zend_hash.h:154:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^
Makefile:193: recipe for target 'suhosin.lo' failed
make: *** [suhosin.lo] Error 1
*******************************************
*******************************************
Cannot find /usr/local/bin/php
Please recompile php with custombuild, eg:
cd /usr/local/directadmin/custombuild
./build all d
This appears to be a 64-bit system.
a common cause of http/php compile failures is mentioned here:
http://help.directadmin.com/item.php?id=213
*******************************************
*******************************************
OS: Debian 8.2, 64 bit
PHP Versions: 5.6 and 7.0 with php-fpm
How can I fix it, keeping suhosin?