In my case (on Ubuntu, a Debian based Linux variant), I had two copies of apc.ini
in /etc/php5/conf.d/
. I had one that I had put there when I first installed apc. I also found a symlink from /etc/php5/conf.d/20-apc.ini
to ../mods-available/apc.ini
.
It appears that some upgrade of php, enabled this module the "Debian way" (with a symlink). I deleted my copy of apc.ini and I am now just using the one that is symlinked to mods-available
.
Digging further, there are command line programs that should be used to enable and disable PHP modules under Ubuntu and Debian. Here are the commands to enable and disable APC:
sudo /usr/sbin/php5enmod apc # Creates the symlink in /etc/php5/conf.d that enables APC
sudo /usr/sbin/php5dismod apc # Deletes the symlink in /etc/php5/conf.d that disables APC
/etc/php5/cli/php.ini
) for references to moduleapc
? And is this your completefunc.php
file? Looks incomplete to me (at least closing?>
is missing) – nyarlathotep Jan 2 '12 at 11:51?>
is a best practice. – phihag Jan 2 '12 at 11:52?>
its not so important as it is in PHP. Thanks – skowron-line Jan 2 '12 at 11:55