March 23, 2013

[SOLVED] Fixed PHP Warning: Module 'apc' already loaded in Unknown on line 0

You are getting this message "[SOLVED] Fixed PHP Warning:  Module 'apc' already loaded in Unknown on line 0"

every time you execute the php in your console.

It means that you have already activated the extension.

You must check the second module activation.

Here you can find the apc.ini config file
$ locate apc.ini 

Now locate php.ini files and check them for uncommented "" line
$ locate php.ini

check files for uncommented ""
$ cat /etc/php5/apache2/php.ini | grep

Here you found it
$ cat /etc/php5/cli/php.ini | grep


Edit the file
 sudo vim /etc/php5/cli/php.ini

and add ";" before ""

save it and you are done






March 11, 2013