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

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 :

[root@vps ~]# php -m | grep -w apc
apc

or

[root@vps ~]# php -r 'phpinfo();' |grep apc

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>