cPanel & WHM Version 98 has been released, and brings a slew of great updates. Take a look at what is included, and then upgrade today!

APC / APCu in EasyApache4

jmginer shared this idea 5 years ago
Already Exists

As a server administrator I would like cPanel to package and distribute APC/APCu for EasyApache 4.

Replies (3)

photo
1

APCu must be part of EA4, it provide better performance together with OPCache.

photo
2

Hi,


APC is a PECL module, and be installed via WHM -> Module Installers. I've been able to install APCu via this workflow, is this not working for you?

photo
1

Installing PHP Pecl "APC"

downloading APC-3.1.13.tgz ...

Starting to download APC-3.1.13.tgz (171,591 bytes)

.............................done: 171,591 bytes

[ full output omitted by moderator ]

cc -D_GNU_SOURCE -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear/pear-build-root0P9U4d/APC-3.1.13/include -I/root/tmp/pear/pear-build-root0P9U4d/APC-3.1.13/main -I/root/tmp/pear/APC -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/apc_cache.c -fPIC -DPIC -o .libs/apc_cache.o

/root/tmp/pear/APC/apc_cache.c: In function '_apc_cache_user_update':

/root/tmp/pear/APC/apc_cache.c:818: error: 'IS_CONSTANT_INDEX' undeclared (first use in this function)

/root/tmp/pear/APC/apc_cache.c:818: error: (Each undeclared identifier is reported only once

/root/tmp/pear/APC/apc_cache.c:818: error: for each function it appears in.)

/root/tmp/pear/APC/apc_cache.c:820: error: 'IS_CONSTANT_ARRAY' undeclared (first use in this function)

make: *** [apc_cache.lo] Error 1

ERROR: `make' failed

photo
1

Hey there! The best option at this point would be to open a ticket, either with your webhost or with cPanel's support team ( https://tickets.cpanel.net/submit ). I'm going to go ahead and lock comments for now, but if you have any other reason for this request to continue to be open for discussion, let me know!

Replies have been locked on this page!