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

Comments

Leave a Reply

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