I found the instructions here:
http://talk.plesk.com/threads/enable-apcu.333346/page-2#post-789681
and ran through the process but the PECL build failed. Error details below.
I also thought that using the plesk URL for the dev tools might work, (
http://autoinstall.plesk.com/PHP_5.6.10/) -
but I am using PHP 5.6.15, and the autoinstall folders only go to 5.6.13.
Do i need to downgrade my PHP to 5.6.10?
/tmp/apcu/apc_cache_api.h:44: error: expected specifier-qualifier-list before ‘zend_string’
/tmp/apcu/apc_cache_api.h:53: error: expected specifier-qualifier-list before ‘zend_long’
/tmp/apcu/apc_cache_api.h:67: error: expected specifier-qualifier-list before ‘zend_long’
/tmp/apcu/apc_cache_api.h:82: error: expected specifier-qualifier-list before ‘zend_long’
/tmp/apcu/apc_cache_api.h:101: error: expected specifier-qualifier-list before ‘zend_long’
/tmp/apcu/apc_cache_api.h:139: error: expected declaration specifiers or ‘...’ before ‘zend_long’
/tmp/apcu/apc_cache_api.h:140: error: expected declaration specifiers or ‘...’ before ‘zend_long’
/tmp/apcu/apc_cache_api.h:141: error: expected declaration specifiers or ‘...’ before ‘zend_long’
/tmp/apcu/apc_cache_api.h:142: error: expected declaration specifiers or ‘...’ before ‘zend_long’
/tmp/apcu/apc_cache_api.h:216: error: expected declaration specifiers or ‘...’ before ‘zend_string’
/tmp/apcu/apc_cache_api.h:223: error: expected declaration specifiers or ‘...’ before ‘zend_string’
/tmp/apcu/apc_cache_api.h:230: error: expected declaration specifiers or ‘...’ before ‘zend_string’
/tmp/apcu/apc_cache_api.h:236: error: expected declaration specifiers or ‘...’ before ‘zend_string’
/tmp/apcu/apc_cache_api.h:245: error: expected declaration specifiers or ‘...’ before ‘zend_string’
/tmp/apcu/apc_cache_api.h:250: error: expected declaration specifiers or ‘...’ before ‘zend_string’
/tmp/apcu/apc_cache_api.h:272: error: expected declaration specifiers or ‘...’ before ‘zend_string’
/tmp/apcu/apc_cache_api.h:290: error: expected declaration specifiers or ‘...’ before ‘zend_string’
/tmp/apcu/apc_cache_api.h:390: error: expected declaration specifiers or ‘...’ before ‘zend_long’
/tmp/apcu/apc.c:41:31: error: zend_smart_str.h: No such file or directory
/tmp/apcu/apc.c: In function ‘apc_flip_hash’:
/tmp/apcu/apc.c:336: warning: passing argument 2 of ‘zend_hash_get_current_data_ex’ from incompatible pointer type
/opt/plesk/php/5.6/include/php/Zend/zend_hash.h:182: note: expected ‘void **’ but argument is of type ‘struct Bucket **’
/tmp/apcu/apc.c:336: error: too few arguments to function ‘zend_hash_get_current_data_ex’
/tmp/apcu/apc.c:338:61: error: macro "zend_hash_update" requires 6 arguments, but only 3 given
/tmp/apcu/apc.c:338: error: ‘zend_hash_update’ undeclared (first use in this function)
/tmp/apcu/apc.c:338: error: (Each undeclared identifier is reported only once
/tmp/apcu/apc.c:338: error: for each function it appears in.)
/tmp/apcu/apc.c:340:68: error: macro "zend_hash_index_update" requires 5 arguments, but only 3 given
/tmp/apcu/apc.c:340: error: ‘zend_hash_index_update’ undeclared (first use in this function)
/tmp/apcu/apc.c:345: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type
/opt/plesk/php/5.6/include/php/Zend/zend_variables.h:51: note: expected ‘struct zval **’ but argument is of type ‘struct zval *’
make: *** [apc.lo] Error 1
ERROR: `make' failed