What is the correct way to install APC on WHM and check that is is working? The steps I have carried out so far:
- SSH on the server as root and run
yum install pcre-devel
- In WHM go to PHP Configuration Editor, Advanced Mode* and change extension_dir from
- In WHM go to
Module Installers, click on mange next to PHP Pecl. Search for APC and install. (The last linetaht is returned says The APC.so object is not in /usr/lib/php/extensions/no-debug-non-zts-20060613)
- In WHM go to Configure PHP and SuExec and make the PHP 5 Handler dso.
I have copied apc.php and the data seems to change however I don't have any apc options in php.ini in WHM. The only reference for in php.ini is under extension where it says
pdo.so, pdo_sqlite.so, sqlite.so, apc.so, pdo_mysql.so.
How can I check that APC is installed correctly on WHM?
The extension_dir for me ended up being
/usr/lib/php/extensions/no-debug-non-zts-20090626. APC is now in php.ini