How to check php-apc has been loaded or not ?

Share this Article :

Q. I have setup LEMP server with php-apc for better performance but i am not sure php-apc has been loaded or not ?

A. Run the following command :

[[email protected] ~]# php -m | grep -w apc
apc

or

[[email protected] ~]# php -r 'phpinfo();' |grep apc

Leave a Reply