After switching to a new mac at work, I tried to install APC as I need it in some of my projects.
I tried using PECL installation, everything seemed fine, I enabled it in my php.ini.
After that, I tried to use a APC function but still where getting that APC was enabled, looking my phpinfo().
Then I decided to fetch the latest apc source and buil them myself.
Problem seems to be the same, APC is said enabled on my phpinfo, but is not in fact enabled (getting errors when calling apc functions on my code).
Does someone have an idea about this issue ?
Thanks,
Ludovic.
EDIT : It seems like it's working in CLI but not through apache...
Here is my apache config for APC :
; Enable APC
extension=apc.so
apc.enabled = 1
apc.enable_cli = 1
EDIT : It seems like it's working in CLI but not through apache...
It probably means that you have two different php.ini
files. One for the CLI, and one for Apache.
Did you modify the one specified in phpinfo()
?