herzla

Member
Apr 19, 2021
8
1
3
here
cPanel Access Level
Root Administrator
I tried to install APCu 5.21
php8 is in use

I get this output and nothing more:
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to
update
downloading apcu-5.1.21.tgz ...
Starting to download apcu-5.1.21.tgz (92,516 bytes)
.....................done: 92,516 bytes
42 source files, building
running: phpize
 
Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
11,667
1,853
363
cPanel Access Level
Root Administrator
Hey there! Were you trying this work through the WHM >> Manage Plugins area? I created a test server with PHP 8.0 set as the default version, and I didn't have any difficulty installing the module - here is the full output of that work:

Code:
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to
 update
downloading apcu-5.1.21.tgz ...
Starting to download apcu-5.1.21.tgz (92,516 bytes)
.....................done: 92,516 bytes
42 source files, building
running: phpize
Configuring for:
PHP Api Version:         20200930
Zend Module Api No:      20200930
Zend Extension Api No:   420200930
Enable internal debugging in APCu [no] : building in /root/tmp/pear/pear-build-root59oc5U/apcu-5.1.2
1
running: /root/tmp/pear/apcu/configure --with-php-config=/opt/cpanel/ea-php80/root/usr/bin/php-confi
g --enable-apcu-debug=no
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for pkg-config... /bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking for system library directory... lib
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for PHP prefix... /opt/cpanel/ea-php80/root/usr
checking for PHP includes... -I/opt/cpanel/ea-php80/root/usr/include/php -I/opt/cpanel/ea-php80/root
/usr/include/php/main -I/opt/cpanel/ea-php80/root/usr/include/php/TSRM -I/opt/cpanel/ea-php80/root/u
sr/include/php/Zend -I/opt/cpanel/ea-php80/root/usr/include/php/ext -I/opt/cpanel/ea-php80/root/usr/
include/php/ext/date/lib
checking for PHP extension directory... /opt/cpanel/ea-php80/root/usr/lib64/php/modules
checking for PHP installed headers prefix... /opt/cpanel/ea-php80/root/usr/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for gawk... gawk
checking whether to enable APCu support... yes, shared
checking if APCu should be allowed to use rwlocks... yes
checking if APCu should be built in debug mode... no
checking if APCu should clear on SIGUSR1... no
checking if APCu will use mmap (or shm)... yes
checking if APCu should utilize spinlocks before flocks... no
checking whether the target compiler supports builtin atomics... yes
checking for pthread rwlocks... yes
checking for pthread mutexes... yes
checking for sigaction... yes
checking for union semun... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking valgrind/memcheck.h usability... no
checking valgrind/memcheck.h presence... no
checking for valgrind/memcheck.h... no
checking for shm_open in -lrt... yes
checking whether to include code coverage symbols... no
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by cc... /bin/ld
checking if the linker (/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /bin/nm -B
checking the name lister (/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 3458764513820540925
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert
_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop

checking for /bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... (cached) gawk
checking command to parse /bin/nm -B output from cc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: patching config.h.in
configure: creating ./config.status
config.status: creating config.h
config.status: executing libtool commands
running: make
/bin/sh /root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/libtool --mode=compile cc -I. -I/root/tmp/p
ear/apcu -I/root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/include -I/root/tmp/pear/pear-build-root
59oc5U/apcu-5.1.21/main -I/root/tmp/pear/apcu -I/opt/cpanel/ea-php80/root/usr/include/php -I/opt/cpa
nel/ea-php80/root/usr/include/php/main -I/opt/cpanel/ea-php80/root/usr/include/php/TSRM -I/opt/cpane
l/ea-php80/root/usr/include/php/Zend -I/opt/cpanel/ea-php80/root/usr/include/php/ext -I/opt/cpanel/e
a-php80/root/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -D_GNU_SOURCE -DZEND_ENABLE_STA
TIC_TSRMLS_CACHE=1 -c /root/tmp/pear/apcu/apc.c -o apc.lo
libtool: compile:  cc -I. -I/root/tmp/pear/apcu -I/root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/i
nclude -I/root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/main -I/root/tmp/pear/apcu -I/opt/cpanel/e
a-php80/root/usr/include/php -I/opt/cpanel/ea-php80/root/usr/include/php/main -I/opt/cpanel/ea-php80
/root/usr/include/php/TSRM -I/opt/cpanel/ea-php80/root/usr/include/php/Zend -I/opt/cpanel/ea-php80/r
oot/usr/include/php/ext -I/opt/cpanel/ea-php80/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g
-O2 -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /root/tmp/pear/apcu/apc.c  -fPIC -DPIC -o .
libs/apc.o
/bin/sh /root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/libtool --mode=compile cc -I. -I/root/tmp/p
ear/apcu -I/root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/include -I/root/tmp/pear/pear-build-root
59oc5U/apcu-5.1.21/main -I/root/tmp/pear/apcu -I/opt/cpanel/ea-php80/root/usr/include/php -I/opt/cpa
nel/ea-php80/root/usr/include/php/main -I/opt/cpanel/ea-php80/root/usr/include/php/TSRM -I/opt/cpane
l/ea-php80/root/usr/include/php/Zend -I/opt/cpanel/ea-php80/root/usr/include/php/ext -I/opt/cpanel/e
a-php80/root/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -D_GNU_SOURCE -DZEND_ENABLE_STA
TIC_TSRMLS_CACHE=1 -c /root/tmp/pear/apcu/apc_lock.c -o apc_lock.lo
libtool: compile:  cc -I. -I/root/tmp/pear/apcu -I/root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/i
nclude -I/root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/main -I/root/tmp/pear/apcu -I/opt/cpanel/e
a-php80/root/usr/include/php -I/opt/cpanel/ea-php80/root/usr/include/php/main -I/opt/cpanel/ea-php80
/root/usr/include/php/TSRM -I/opt/cpanel/ea-php80/root/usr/include/php/Zend -I/opt/cpanel/ea-php80/r
oot/usr/include/php/ext -I/opt/cpanel/ea-php80/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g
-O2 -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /root/tmp/pear/apcu/apc_lock.c  -fPIC -DPIC
 -o .libs/apc_lock.o
/bin/sh /root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/libtool --mode=compile cc -I. -I/root/tmp/p
ear/apcu -I/root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/include -I/root/tmp/pear/pear-build-root
59oc5U/apcu-5.1.21/main -I/root/tmp/pear/apcu -I/opt/cpanel/ea-php80/root/usr/include/php -I/opt/cpa
nel/ea-php80/root/usr/include/php/main -I/opt/cpanel/ea-php80/root/usr/include/php/TSRM -I/opt/cpane
l/ea-php80/root/usr/include/php/Zend -I/opt/cpanel/ea-php80/root/usr/include/php/ext -I/opt/cpanel/e
a-php80/root/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -D_GNU_SOURCE -DZEND_ENABLE_STA
TIC_TSRMLS_CACHE=1 -c /root/tmp/pear/apcu/apc_mutex.c -o apc_mutex.lo
libtool: compile:  cc -I. -I/root/tmp/pear/apcu -I/root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/i
nclude -I/root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/main -I/root/tmp/pear/apcu -I/opt/cpanel/e
a-php80/root/usr/include/php -I/opt/cpanel/ea-php80/root/usr/include/php/main -I/opt/cpanel/ea-php80
/root/usr/include/php/TSRM -I/opt/cpanel/ea-php80/root/usr/include/php/Zend -I/opt/cpanel/ea-php80/r
oot/usr/include/php/ext -I/opt/cpanel/ea-php80/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g
-O2 -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /root/tmp/pear/apcu/apc_mutex.c  -fPIC -DPI
C -o .libs/apc_mutex.o
/bin/sh /root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/libtool --mode=compile cc -I. -I/root/tmp/p
ear/apcu -I/root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/include -I/root/tmp/pear/pear-build-root
59oc5U/apcu-5.1.21/main -I/root/tmp/pear/apcu -I/opt/cpanel/ea-php80/root/usr/include/php -I/opt/cpa
nel/ea-php80/root/usr/include/php/main -I/opt/cpanel/ea-php80/root/usr/include/php/TSRM -I/opt/cpane
l/ea-php80/root/usr/include/php/Zend -I/opt/cpanel/ea-php80/root/usr/include/php/ext -I/opt/cpanel/e
a-php80/root/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -D_GNU_SOURCE -DZEND_ENABLE_STA
TIC_TSRMLS_CACHE=1 -c /root/tmp/pear/apcu/php_apc.c -o php_apc.lo
libtool: compile:  cc -I. -I/root/tmp/pear/apcu -I/root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/i
nclude -I/root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/main -I/root/tmp/pear/apcu -I/opt/cpanel/e
a-php80/root/usr/include/php -I/opt/cpanel/ea-php80/root/usr/include/php/main -I/opt/cpanel/ea-php80
/root/usr/include/php/TSRM -I/opt/cpanel/ea-php80/root/usr/include/php/Zend -I/opt/cpanel/ea-php80/r
oot/usr/include/php/ext -I/opt/cpanel/ea-php80/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g
-O2 -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /root/tmp/pear/apcu/php_apc.c  -fPIC -DPIC
-o .libs/php_apc.o
/bin/sh /root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/libtool --mode=compile cc -I. -I/root/tmp/p
ear/apcu -I/root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/include -I/root/tmp/pear/pear-build-root
59oc5U/apcu-5.1.21/main -I/root/tmp/pear/apcu -I/opt/cpanel/ea-php80/root/usr/include/php -I/opt/cpa
nel/ea-php80/root/usr/include/php/main -I/opt/cpanel/ea-php80/root/usr/include/php/TSRM -I/opt/cpane
l/ea-php80/root/usr/include/php/Zend -I/opt/cpanel/ea-php80/root/usr/include/php/ext -I/opt/cpanel/e
a-php80/root/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -D_GNU_SOURCE -DZEND_ENABLE_STA
TIC_TSRMLS_CACHE=1 -c /root/tmp/pear/apcu/apc_cache.c -o apc_cache.lo
libtool: compile:  cc -I. -I/root/tmp/pear/apcu -I/root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/i
nclude -I/root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/main -I/root/tmp/pear/apcu -I/opt/cpanel/e
a-php80/root/usr/include/php -I/opt/cpanel/ea-php80/root/usr/include/php/main -I/opt/cpanel/ea-php80
/root/usr/include/php/TSRM -I/opt/cpanel/ea-php80/root/usr/include/php/Zend -I/opt/cpanel/ea-php80/r
oot/usr/include/php/ext -I/opt/cpanel/ea-php80/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g
-O2 -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /root/tmp/pear/apcu/apc_cache.c  -fPIC -DPI
C -o .libs/apc_cache.o
/bin/sh /root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/libtool --mode=compile cc -I. -I/root/tmp/p
ear/apcu -I/root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/include -I/root/tmp/pear/pear-build-root
59oc5U/apcu-5.1.21/main -I/root/tmp/pear/apcu -I/opt/cpanel/ea-php80/root/usr/include/php -I/opt/cpa
nel/ea-php80/root/usr/include/php/main -I/opt/cpanel/ea-php80/root/usr/include/php/TSRM -I/opt/cpane
l/ea-php80/root/usr/include/php/Zend -I/opt/cpanel/ea-php80/root/usr/include/php/ext -I/opt/cpanel/e
a-php80/root/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -D_GNU_SOURCE -DZEND_ENABLE_STA
TIC_TSRMLS_CACHE=1 -c /root/tmp/pear/apcu/apc_mmap.c -o apc_mmap.lo
libtool: compile:  cc -I. -I/root/tmp/pear/apcu -I/root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/i
nclude -I/root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/main -I/root/tmp/pear/apcu -I/opt/cpanel/e
a-php80/root/usr/include/php -I/opt/cpanel/ea-php80/root/usr/include/php/main -I/opt/cpanel/ea-php80
/root/usr/include/php/TSRM -I/opt/cpanel/ea-php80/root/usr/include/php/Zend -I/opt/cpanel/ea-php80/r
oot/usr/include/php/ext -I/opt/cpanel/ea-php80/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g
-O2 -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /root/tmp/pear/apcu/apc_mmap.c  -fPIC -DPIC
 -o .libs/apc_mmap.o
/bin/sh /root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/libtool --mode=compile cc -I. -I/root/tmp/p
ear/apcu -I/root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/include -I/root/tmp/pear/pear-build-root
59oc5U/apcu-5.1.21/main -I/root/tmp/pear/apcu -I/opt/cpanel/ea-php80/root/usr/include/php -I/opt/cpa
nel/ea-php80/root/usr/include/php/main -I/opt/cpanel/ea-php80/root/usr/include/php/TSRM -I/opt/cpane
l/ea-php80/root/usr/include/php/Zend -I/opt/cpanel/ea-php80/root/usr/include/php/ext -I/opt/cpanel/e
a-php80/root/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -D_GNU_SOURCE -DZEND_ENABLE_STA
TIC_TSRMLS_CACHE=1 -c /root/tmp/pear/apcu/apc_shm.c -o apc_shm.lo
libtool: compile:  cc -I. -I/root/tmp/pear/apcu -I/root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/i
nclude -I/root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/main -I/root/tmp/pear/apcu -I/opt/cpanel/e
a-php80/root/usr/include/php -I/opt/cpanel/ea-php80/root/usr/include/php/main -I/opt/cpanel/ea-php80
/root/usr/include/php/TSRM -I/opt/cpanel/ea-php80/root/usr/include/php/Zend -I/opt/cpanel/ea-php80/r
oot/usr/include/php/ext -I/opt/cpanel/ea-php80/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g
-O2 -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /root/tmp/pear/apcu/apc_shm.c  -fPIC -DPIC
-o .libs/apc_shm.o
/bin/sh /root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/libtool --mode=compile cc -I. -I/root/tmp/p
ear/apcu -I/root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/include -I/root/tmp/pear/pear-build-root
59oc5U/apcu-5.1.21/main -I/root/tmp/pear/apcu -I/opt/cpanel/ea-php80/root/usr/include/php -I/opt/cpa
nel/ea-php80/root/usr/include/php/main -I/opt/cpanel/ea-php80/root/usr/include/php/TSRM -I/opt/cpane
l/ea-php80/root/usr/include/php/Zend -I/opt/cpanel/ea-php80/root/usr/include/php/ext -I/opt/cpanel/e
a-php80/root/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -D_GNU_SOURCE -DZEND_ENABLE_STA
TIC_TSRMLS_CACHE=1 -c /root/tmp/pear/apcu/apc_sma.c -o apc_sma.lo
libtool: compile:  cc -I. -I/root/tmp/pear/apcu -I/root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/i
nclude -I/root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/main -I/root/tmp/pear/apcu -I/opt/cpanel/e
a-php80/root/usr/include/php -I/opt/cpanel/ea-php80/root/usr/include/php/main -I/opt/cpanel/ea-php80
/root/usr/include/php/TSRM -I/opt/cpanel/ea-php80/root/usr/include/php/Zend -I/opt/cpanel/ea-php80/r
oot/usr/include/php/ext -I/opt/cpanel/ea-php80/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g
-O2 -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /root/tmp/pear/apcu/apc_sma.c  -fPIC -DPIC
-o .libs/apc_sma.o
/bin/sh /root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/libtool --mode=compile cc -I. -I/root/tmp/p
ear/apcu -I/root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/include -I/root/tmp/pear/pear-build-root
59oc5U/apcu-5.1.21/main -I/root/tmp/pear/apcu -I/opt/cpanel/ea-php80/root/usr/include/php -I/opt/cpa
nel/ea-php80/root/usr/include/php/main -I/opt/cpanel/ea-php80/root/usr/include/php/TSRM -I/opt/cpane
l/ea-php80/root/usr/include/php/Zend -I/opt/cpanel/ea-php80/root/usr/include/php/ext -I/opt/cpanel/e
a-php80/root/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -D_GNU_SOURCE -DZEND_ENABLE_STA
TIC_TSRMLS_CACHE=1 -c /root/tmp/pear/apcu/apc_stack.c -o apc_stack.lo
libtool: compile:  cc -I. -I/root/tmp/pear/apcu -I/root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/i
nclude -I/root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/main -I/root/tmp/pear/apcu -I/opt/cpanel/e
a-php80/root/usr/include/php -I/opt/cpanel/ea-php80/root/usr/include/php/main -I/opt/cpanel/ea-php80
/root/usr/include/php/TSRM -I/opt/cpanel/ea-php80/root/usr/include/php/Zend -I/opt/cpanel/ea-php80/r
oot/usr/include/php/ext -I/opt/cpanel/ea-php80/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g
-O2 -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /root/tmp/pear/apcu/apc_stack.c  -fPIC -DPI
C -o .libs/apc_stack.o
/bin/sh /root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/libtool --mode=compile cc -I. -I/root/tmp/p
ear/apcu -I/root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/include -I/root/tmp/pear/pear-build-root
59oc5U/apcu-5.1.21/main -I/root/tmp/pear/apcu -I/opt/cpanel/ea-php80/root/usr/include/php -I/opt/cpa
nel/ea-php80/root/usr/include/php/main -I/opt/cpanel/ea-php80/root/usr/include/php/TSRM -I/opt/cpane
l/ea-php80/root/usr/include/php/Zend -I/opt/cpanel/ea-php80/root/usr/include/php/ext -I/opt/cpanel/e
a-php80/root/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -D_GNU_SOURCE -DZEND_ENABLE_STA
TIC_TSRMLS_CACHE=1 -c /root/tmp/pear/apcu/apc_signal.c -o apc_signal.lo
libtool: compile:  cc -I. -I/root/tmp/pear/apcu -I/root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/i
nclude -I/root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/main -I/root/tmp/pear/apcu -I/opt/cpanel/e
a-php80/root/usr/include/php -I/opt/cpanel/ea-php80/root/usr/include/php/main -I/opt/cpanel/ea-php80
/root/usr/include/php/TSRM -I/opt/cpanel/ea-php80/root/usr/include/php/Zend -I/opt/cpanel/ea-php80/r
oot/usr/include/php/ext -I/opt/cpanel/ea-php80/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g
-O2 -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /root/tmp/pear/apcu/apc_signal.c  -fPIC -DP
IC -o .libs/apc_signal.o
/bin/sh /root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/libtool --mode=compile cc -I. -I/root/tmp/p
ear/apcu -I/root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/include -I/root/tmp/pear/pear-build-root
59oc5U/apcu-5.1.21/main -I/root/tmp/pear/apcu -I/opt/cpanel/ea-php80/root/usr/include/php -I/opt/cpa
nel/ea-php80/root/usr/include/php/main -I/opt/cpanel/ea-php80/root/usr/include/php/TSRM -I/opt/cpane
l/ea-php80/root/usr/include/php/Zend -I/opt/cpanel/ea-php80/root/usr/include/php/ext -I/opt/cpanel/e
a-php80/root/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -D_GNU_SOURCE -DZEND_ENABLE_STA
TIC_TSRMLS_CACHE=1 -c /root/tmp/pear/apcu/apc_iterator.c -o apc_iterator.lo
libtool: compile:  cc -I. -I/root/tmp/pear/apcu -I/root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/i
nclude -I/root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/main -I/root/tmp/pear/apcu -I/opt/cpanel/e
a-php80/root/usr/include/php -I/opt/cpanel/ea-php80/root/usr/include/php/main -I/opt/cpanel/ea-php80
/root/usr/include/php/TSRM -I/opt/cpanel/ea-php80/root/usr/include/php/Zend -I/opt/cpanel/ea-php80/r
oot/usr/include/php/ext -I/opt/cpanel/ea-php80/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g
-O2 -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /root/tmp/pear/apcu/apc_iterator.c  -fPIC -
DPIC -o .libs/apc_iterator.o
/bin/sh /root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/libtool --mode=compile cc -I. -I/root/tmp/p
ear/apcu -I/root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/include -I/root/tmp/pear/pear-build-root
59oc5U/apcu-5.1.21/main -I/root/tmp/pear/apcu -I/opt/cpanel/ea-php80/root/usr/include/php -I/opt/cpa
nel/ea-php80/root/usr/include/php/main -I/opt/cpanel/ea-php80/root/usr/include/php/TSRM -I/opt/cpane
l/ea-php80/root/usr/include/php/Zend -I/opt/cpanel/ea-php80/root/usr/include/php/ext -I/opt/cpanel/e
a-php80/root/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -D_GNU_SOURCE -DZEND_ENABLE_STA
TIC_TSRMLS_CACHE=1 -c /root/tmp/pear/apcu/apc_persist.c -o apc_persist.lo
libtool: compile:  cc -I. -I/root/tmp/pear/apcu -I/root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/i
nclude -I/root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/main -I/root/tmp/pear/apcu -I/opt/cpanel/e
a-php80/root/usr/include/php -I/opt/cpanel/ea-php80/root/usr/include/php/main -I/opt/cpanel/ea-php80
/root/usr/include/php/TSRM -I/opt/cpanel/ea-php80/root/usr/include/php/Zend -I/opt/cpanel/ea-php80/r
oot/usr/include/php/ext -I/opt/cpanel/ea-php80/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g
-O2 -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /root/tmp/pear/apcu/apc_persist.c  -fPIC -D
PIC -o .libs/apc_persist.o
/bin/sh /root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/libtool --mode=link cc -shared -I/root/tmp/
pear/pear-build-root59oc5U/apcu-5.1.21/include -I/root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/ma
in -I/root/tmp/pear/apcu -I/opt/cpanel/ea-php80/root/usr/include/php -I/opt/cpanel/ea-php80/root/usr
/include/php/main -I/opt/cpanel/ea-php80/root/usr/include/php/TSRM -I/opt/cpanel/ea-php80/root/usr/i
nclude/php/Zend -I/opt/cpanel/ea-php80/root/usr/include/php/ext -I/opt/cpanel/ea-php80/root/usr/incl
ude/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2    -o apcu.la -export-dynamic -avoid-version -prefer-p
ic -module -rpath /root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/modules  apc.lo apc_lock.lo apc_m
utex.lo php_apc.lo apc_cache.lo apc_mmap.lo apc_shm.lo apc_sma.lo apc_stack.lo apc_signal.lo apc_ite
rator.lo apc_persist.lo -lrt
libtool: link: cc -shared  -fPIC -DPIC  .libs/apc.o .libs/apc_lock.o .libs/apc_mutex.o .libs/php_apc
.o .libs/apc_cache.o .libs/apc_mmap.o .libs/apc_shm.o .libs/apc_sma.o .libs/apc_stack.o .libs/apc_si
gnal.o .libs/apc_iterator.o .libs/apc_persist.o   -lrt  -g -O2   -Wl,-soname -Wl,apcu.so -o .libs/ap
cu.so
libtool: link: ( cd ".libs" && rm -f "apcu.la" && ln -s "../apcu.la" "apcu.la" )
/bin/sh /root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/libtool --mode=install cp ./apcu.la /root/t
mp/pear/pear-build-root59oc5U/apcu-5.1.21/modules
libtool: install: cp ./.libs/apcu.so /root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/modules/apcu.s
o
libtool: install: cp ./.libs/apcu.lai /root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/modules/apcu.
la
libtool: finish: PATH="/opt/cpanel/ea-php80/root/usr/bin:/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/
kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/
bin:/usr/X11R6/bin:/root/bin:/opt/bin:/usr/local/bin:/sbin" ldconfig -n /root/tmp/pear/pear-build-ro
ot59oc5U/apcu-5.1.21/modules
----------------------------------------------------------------------
Libraries have been installed in:
   /root/tmp/pear/pear-build-root59oc5U/apcu-5.1.21/modules

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------

Build complete.
Don't forget to run 'make test'.

running: make INSTALL_ROOT="/root/tmp/pear/pear-build-root59oc5U/install-apcu-5.1.21" install
Installing shared extensions:     /root/tmp/pear/pear-build-root59oc5U/install-apcu-5.1.21/opt/cpane
l/ea-php80/root/usr/lib64/php/modules/
Installing header files:          /root/tmp/pear/pear-build-root59oc5U/install-apcu-5.1.21/opt/cpane
l/ea-php80/root/usr/include/php/
running: find "/root/tmp/pear/pear-build-root59oc5U/install-apcu-5.1.21" | xargs ls -dils
16997794   0 drwxr-xr-x 3 root root     17 Aug  8 13:52 /root/tmp/pear/pear-build-root59oc5U/install
-apcu-5.1.21
37979553   0 drwxr-xr-x 3 root root     20 Aug  8 13:52 /root/tmp/pear/pear-build-root59oc5U/install
-apcu-5.1.21/opt
39911475   0 drwxr-xr-x 3 root root     22 Aug  8 13:52 /root/tmp/pear/pear-build-root59oc5U/install
-apcu-5.1.21/opt/cpanel
  755318   0 drwxr-xr-x 3 root root     18 Aug  8 13:52 /root/tmp/pear/pear-build-root59oc5U/install
-apcu-5.1.21/opt/cpanel/ea-php80
  755319   0 drwxr-xr-x 3 root root     17 Aug  8 13:52 /root/tmp/pear/pear-build-root59oc5U/install
-apcu-5.1.21/opt/cpanel/ea-php80/root
 2420084   0 drwxr-xr-x 4 root root     34 Aug  8 13:52 /root/tmp/pear/pear-build-root59oc5U/install
-apcu-5.1.21/opt/cpanel/ea-php80/root/usr
10786066   0 drwxr-xr-x 3 root root     17 Aug  8 13:52 /root/tmp/pear/pear-build-root59oc5U/install
-apcu-5.1.21/opt/cpanel/ea-php80/root/usr/include
12599058   0 drwxr-xr-x 3 root root     17 Aug  8 13:52 /root/tmp/pear/pear-build-root59oc5U/install
-apcu-5.1.21/opt/cpanel/ea-php80/root/usr/include/php
14903246   0 drwxr-xr-x 3 root root     18 Aug  8 13:52 /root/tmp/pear/pear-build-root59oc5U/install
-apcu-5.1.21/opt/cpanel/ea-php80/root/usr/include/php/ext
16997795   0 drwxr-xr-x 2 root root    265 Aug  8 13:52 /root/tmp/pear/pear-build-root59oc5U/install
-apcu-5.1.21/opt/cpanel/ea-php80/root/usr/include/php/ext/apcu
16997798   4 -rw-r--r-- 1 root root   1261 Aug  8 13:52 /root/tmp/pear/pear-build-root59oc5U/install
-apcu-5.1.21/opt/cpanel/ea-php80/root/usr/include/php/ext/apcu/apc_api.h
16998277   4 -rw-r--r-- 1 root root    113 Aug  8 13:52 /root/tmp/pear/pear-build-root59oc5U/install
-apcu-5.1.21/opt/cpanel/ea-php80/root/usr/include/php/ext/apcu/apc_arginfo.h
16997799  16 -rw-r--r-- 1 root root  13338 Aug  8 13:52 /root/tmp/pear/pear-build-root59oc5U/install
-apcu-5.1.21/opt/cpanel/ea-php80/root/usr/include/php/ext/apcu/apc_cache.h
16997800   4 -rw-r--r-- 1 root root   3636 Aug  8 13:52 /root/tmp/pear/pear-build-root59oc5U/install
-apcu-5.1.21/opt/cpanel/ea-php80/root/usr/include/php/ext/apcu/apc_globals.h
16997797   8 -rw-r--r-- 1 root root   6232 Aug  8 13:52 /root/tmp/pear/pear-build-root59oc5U/install
-apcu-5.1.21/opt/cpanel/ea-php80/root/usr/include/php/ext/apcu/apc.h
16997801   4 -rw-r--r-- 1 root root   3884 Aug  8 13:52 /root/tmp/pear/pear-build-root59oc5U/install
-apcu-5.1.21/opt/cpanel/ea-php80/root/usr/include/php/ext/apcu/apc_iterator.h
16997802   8 -rw-r--r-- 1 root root   4425 Aug  8 13:52 /root/tmp/pear/pear-build-root59oc5U/install
-apcu-5.1.21/opt/cpanel/ea-php80/root/usr/include/php/ext/apcu/apc_lock.h
16997811   4 -rw-r--r-- 1 root root   2303 Aug  8 13:52 /root/tmp/pear/pear-build-root59oc5U/install
-apcu-5.1.21/opt/cpanel/ea-php80/root/usr/include/php/ext/apcu/apc_mutex.h
16997820   4 -rw-r--r-- 1 root root   3033 Aug  8 13:52 /root/tmp/pear/pear-build-root59oc5U/install
-apcu-5.1.21/opt/cpanel/ea-php80/root/usr/include/php/ext/apcu/apc_serializer.h
16997814   8 -rw-r--r-- 1 root root   5611 Aug  8 13:52 /root/tmp/pear/pear-build-root59oc5U/install
-apcu-5.1.21/opt/cpanel/ea-php80/root/usr/include/php/ext/apcu/apc_sma.h
16998274   4 -rw-r--r-- 1 root root   2277 Aug  8 13:52 /root/tmp/pear/pear-build-root59oc5U/install
-apcu-5.1.21/opt/cpanel/ea-php80/root/usr/include/php/ext/apcu/apc_stack.h
16997796   4 -rw-r--r-- 1 root root   2283 Aug  8 13:52 /root/tmp/pear/pear-build-root59oc5U/install
-apcu-5.1.21/opt/cpanel/ea-php80/root/usr/include/php/ext/apcu/php_apc.h
16998280   4 -rw-r--r-- 1 root root   2981 Aug  8 13:52 /root/tmp/pear/pear-build-root59oc5U/install
-apcu-5.1.21/opt/cpanel/ea-php80/root/usr/include/php/ext/apcu/php_apc_legacy_arginfo.h
 5311969   0 drwxr-xr-x 3 root root     17 Aug  8 13:52 /root/tmp/pear/pear-build-root59oc5U/install
-apcu-5.1.21/opt/cpanel/ea-php80/root/usr/lib64
 7069142   0 drwxr-xr-x 3 root root     21 Aug  8 13:52 /root/tmp/pear/pear-build-root59oc5U/install
-apcu-5.1.21/opt/cpanel/ea-php80/root/usr/lib64/php
 8455916   0 drwxr-xr-x 2 root root     21 Aug  8 13:52 /root/tmp/pear/pear-build-root59oc5U/install
-apcu-5.1.21/opt/cpanel/ea-php80/root/usr/lib64/php/modules
 8455917 660 -rwxr-xr-x 1 root root 674312 Aug  8 13:52 /root/tmp/pear/pear-build-root59oc5U/install
-apcu-5.1.21/opt/cpanel/ea-php80/root/usr/lib64/php/modules/apcu.so

Build process completed successfully
Installing '/opt/cpanel/ea-php80/root/usr/lib64/php/modules/apcu.so'
Installing '/opt/cpanel/ea-php80/root/usr/include/php/ext/apcu/php_apc.h'
Installing '/opt/cpanel/ea-php80/root/usr/include/php/ext/apcu/apc.h'
Installing '/opt/cpanel/ea-php80/root/usr/include/php/ext/apcu/apc_api.h'
Installing '/opt/cpanel/ea-php80/root/usr/include/php/ext/apcu/apc_cache.h'
Installing '/opt/cpanel/ea-php80/root/usr/include/php/ext/apcu/apc_globals.h'
Installing '/opt/cpanel/ea-php80/root/usr/include/php/ext/apcu/apc_iterator.h'
Installing '/opt/cpanel/ea-php80/root/usr/include/php/ext/apcu/apc_lock.h'
Installing '/opt/cpanel/ea-php80/root/usr/include/php/ext/apcu/apc_mutex.h'
Installing '/opt/cpanel/ea-php80/root/usr/include/php/ext/apcu/apc_sma.h'
Installing '/opt/cpanel/ea-php80/root/usr/include/php/ext/apcu/apc_serializer.h'
Installing '/opt/cpanel/ea-php80/root/usr/include/php/ext/apcu/apc_stack.h'
Installing '/opt/cpanel/ea-php80/root/usr/include/php/ext/apcu/apc_arginfo.h'
Installing '/opt/cpanel/ea-php80/root/usr/include/php/ext/apcu/php_apc_legacy_arginfo.h'
install ok: channel://pecl.php.net/apcu-5.1.21
Extension apcu enabled in php.ini
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
11,667
1,853
363
cPanel Access Level
Root Administrator
You can also run this on the command line to see if it did get enabled and the interface just froze:

Code:
/usr/bin/php -i | grep -i apc
The output of a successful installation would look similar to the following:

Code:
# /usr/bin/php -i | grep -i apc
<h2><a name="module_apcu">apcu</a></h2>
<tr><td class="e">APCu Support </td><td class="v">Enabled </td></tr>
<tr><td class="e">APCu Debugging </td><td class="v">Disabled </td></tr>
<tr><td class="e">apc.coredump_unmap</td><td class="v">Off</td><td class="v">Off</td></tr>
<tr><td class="e">apc.enable_cli</td><td class="v">Off</td><td class="v">Off</td></tr>
<tr><td class="e">apc.enabled</td><td class="v">On</td><td class="v">On</td></tr>
<tr><td class="e">apc.entries_hint</td><td class="v">4096</td><td class="v">4096</td></tr>
<tr><td class="e">apc.gc_ttl</td><td class="v">3600</td><td class="v">3600</td></tr>
<tr><td class="e">apc.mmap_file_mask</td><td class="v"><i>no value</i></td><td class="v"><i>no value</i></td></tr>
<tr><td class="e">apc.preload_path</td><td class="v"><i>no value</i></td><td class="v"><i>no value</i></td></tr>
<tr><td class="e">apc.serializer</td><td class="v">php</td><td class="v">php</td></tr>
<tr><td class="e">apc.shm_segments</td><td class="v">1</td><td class="v">1</td></tr>
<tr><td class="e">apc.shm_size</td><td class="v">32M</td><td class="v">32M</td></tr>
<tr><td class="e">apc.slam_defense</td><td class="v">Off</td><td class="v">Off</td></tr>
<tr><td class="e">apc.smart</td><td class="v">0</td><td class="v">0</td></tr>
<tr><td class="e">apc.ttl</td><td class="v">0</td><td class="v">0</td></tr>
<tr><td class="e">apc.use_request_time</td><td class="v">Off</td><td class="v">Off</td></tr>
 

herzla

Member
Apr 19, 2021
8
1
3
here
cPanel Access Level
Root Administrator
hi, yes I tried at Home / Software / Module Installers / PHP PECL

/usr/bin/php -i | grep -i apc returns nothing

I tried to do something with the 'WARNING: channel "pecl.php.net" has updated its protocols'
but I didn't found a way to exeute 'pecl channel-update pecl.php.net'
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
11,667
1,853
363
cPanel Access Level
Root Administrator
I've never found that warning to be useful, as the downloads always work well even when that shows up, in my experience.

The only other thing I could recommend would be to try a forced cPanel update to make sure all the tools on the server-side are working well. If that doesn't work, you're always welcome to submit a support ticket to our team since you have root access to the machine.