After making some upgrades, including for php, I started getting these warnings in the apache logs
PHP Warning: Module 'apc' already loaded in Unknown on line 0
Warning: Module 'apc' already loaded in Unknown on line 0
PHP 5.2.13 (cli) (built: Jun 2 2010 16:24:43)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
with the ionCube PHP Loader v3.3.10, Copyright (c) 2002-2009, by ionCube Ltd.
Turns out the upgrade added a php.d directory containing a apc.ini that also loaded the apc module.
So commenting out the extension loading in php.ini made the warning go away.
I also had to manually recompile some php module (specifically the ffmpeg one) and other were automatically updated by yum (but not until I added the REMI repository
Obviously google didn’t help at all and I just had to manually dig for the issue and it was by sheer chance that I noticed the new php.d directory. so hopefully this post will change that for others 🙂