In WHM:
1. went to Main >> Software >> Module Installers
2. Installing PHP Pecl "APC"
3.
and, as it says, i cand find the extension in php.ini but not in that directory
during install it says
but that dir is nowhere to be found
Do you have a solution to fix whm/cpanel ?
I got it working on another server by using this solution: http://forums.cpanel.net/f5/apc-install-error-173431.html
but I would realy like it to work out of the box (as I may possibly need to install other modules in the future)
1. went to Main >> Software >> Module Installers
2. Installing PHP Pecl "APC"
3.
Code:
Build process completed successfully
Installing '/usr/include/php/ext/apc/apc_serializer.h'
Installing '/usr/lib/php/extensions/no-debug-non-zts-20090626/apc.so'
install ok: channel://pecl.php.net/APC-3.1.9
Extension apc enabled in php.ini
The APC.so object is not in /usr/local/lib/php/extensions/no-debug-non-zts-20090626
during install it says
Code:
running: make INSTALL_ROOT="/root/tmp/pear/pear-build-rootv7tfZ6/install-APC-3.1.9" install
Installing shared extensions: /root/tmp/pear/pear-build-rootv7tfZ6/install-APC-3.1.9/usr/lib/php/extensions/no-debug-non-zts-20090626/
Installing header files: /root/tmp/pear/pear-build-rootv7tfZ6/install-APC-3.1.9/usr/include/php/
running: find "/root/tmp/pear/pear-build-rootv7tfZ6/install-APC-3.1.9" | xargs ls -dils
6482351 4 drwxr-xr-x 3 root root 4096 Aug 10 12:47 /root/tmp/pear/pear-build-rootv7tfZ6/install-APC-3.1.9
6482417 4 drwxr-xr-x 4 root root 4096 Aug 10 12:47 /root/tmp/pear/pear-build-rootv7tfZ6/install-APC-3.1.9/usr
6482422 4 drwxr-xr-x 3 root root 4096 Aug 10 12:47 /root/tmp/pear/pear-build-rootv7tfZ6/install-APC-3.1.9/usr/include
6482423 4 drwxr-xr-x 3 root root 4096 Aug 10 12:47 /root/tmp/pear/pear-build-rootv7tfZ6/install-APC-3.1.9/usr/include/php
6482424 4 drwxr-xr-x 3 root root 4096 Aug 10 12:47 /root/tmp/pear/pear-build-rootv7tfZ6/install-APC-3.1.9/usr/include/php/ext
6482425 4 drwxr-xr-x 2 root root 4096 Aug 10 12:47 /root/tmp/pear/pear-build-rootv7tfZ6/install-APC-3.1.9/usr/include/php/ext/apc
6482426 4 -rw-r--r-- 1 root root 3371 Aug 10 12:47 /root/tmp/pear/pear-build-rootv7tfZ6/install-APC-3.1.9/usr/include/php/ext/apc/apc_serializer.h
6482418 4 drwxr-xr-x 3 root root 4096 Aug 10 12:47 /root/tmp/pear/pear-build-rootv7tfZ6/install-APC-3.1.9/usr/lib
6482419 4 drwxr-xr-x 3 root root 4096 Aug 10 12:47 /root/tmp/pear/pear-build-rootv7tfZ6/install-APC-3.1.9/usr/lib/php
6482420 4 drwxr-xr-x 3 root root 4096 Aug 10 12:47 /root/tmp/pear/pear-build-rootv7tfZ6/install-APC-3.1.9/usr/lib/php/extensions
6482421 4 drwxr-xr-x 2 root root 4096 Aug 10 12:47 /root/tmp/pear/pear-build-rootv7tfZ6/install-APC-3.1.9/usr/lib/php/extensions/no-debug-non-zts-20090626
6482416 668 -rwxr-xr-x 1 root root 678267 Aug 10 12:47 /root/tmp/pear/pear-build-rootv7tfZ6/install-APC-3.1.9/usr/lib/php/extensions/no-debug-non-zts-20090626/apc.so
Do you have a solution to fix whm/cpanel ?
Code:
cat /usr/local/cpanel/version
11.30.2.1
but I would realy like it to work out of the box (as I may possibly need to install other modules in the future)