Comments on How To Build PHP 5.6-beta3 (PHP-FPM & FastCGI) With ionCube Loader, Zend OPcache And APCu For ISPConfig 3 (Debian Wheezy)
How To Build PHP 5.6-beta3 (PHP-FPM & FastCGI) With ionCube Loader, Zend OPcache And APCu For ISPConfig 3 (Debian Wheezy) Since ISPConfig 3.0.5, it is possible to use multiple PHP versions on one server and select the optimal PHP version for a website. This feature works with PHP-FPM (starting with PHP 5.3) and FastCGI (all PHP 5.x versions). This tutorial shows how to build PHP 5.5 as a PHP-FPM and a FastCGI version on a Debian Wheezy server. These PHP 5.6 builds include the ionCube Loader, Zend OPcache, and APCu.
4 Comment(s)
Comments
After the command: pecl -C ./pear.conf install channel://pecl.php.net/apcu-4.0.4
I got the following error:
/tmp/pear/temp/apcu/apc_cache.c: In function ‘apc_cache_update’:
/tmp/pear/temp/apcu/apc_cache.c:1004:53: error: ‘IS_CONSTANT_INDEX’ undeclared (first use in this function)
/tmp/pear/temp/apcu/apc_cache.c:1004:53: note: each undeclared identifier is reported only once for each function it appears in
/tmp/pear/temp/apcu/apc_cache.c:1006:22: error: ‘IS_CONSTANT_ARRAY’ undeclared (first use in this function)
/tmp/pear/temp/apcu/apc_cache.c: In function ‘my_serialize_object’:
/tmp/pear/temp/apcu/apc_cache.c:1127:34: error: ‘IS_CONSTANT_INDEX’ undeclared (first use in this function)
/tmp/pear/temp/apcu/apc_cache.c: In function ‘my_copy_zval’:
/tmp/pear/temp/apcu/apc_cache.c:1360:10: error: ‘IS_CONSTANT_ARRAY’ undeclared (first use in this function)
make: *** [apc_cache.lo] Error 1ERROR: `make' failed
I run into the same problem on debian-unstable amd64. No idea how to fix it.
pecl -C ./pear.conf install channel://pecl.php.net/apcu-4.0.6
Gracefully shutting down php-fpm . done
done
Starting php-fpm Cannot load the ionCube PHP Loader - it was built with configuration API220121212,NTS, whereas running engine is API220131226,NTS