Reputation: 281
Is it possible to check if a PHP opcode cache is installed and running on a server without having SSH access to the server? I've checked phpinfo() and can see no reference to APC or eAccelerator, but I'm aware there are other opcode cache systems and am not totally sure that checking phpinfo() is enough to let me know one way or the other.
Upvotes: 1
Views: 1743
Reputation:
var_dump(function_exists('apc_store'));
or equivalent for the library of your choice.
If using a web server SAPI, as per usual, make sure you restart the server process after editing your php.ini to see the new additions reflected.
Upvotes: 2