Boost your server performance with APC for PHP.
The default settings are usually fine but you might want to look at advanced configuration (here).
Pro Tip: if you have WordPress and W3 Total Cache installed you can setup the cache plugin to work with APC. It will indeed improve your caching 😉
Install APC
apt-get install php-apc
Code language: JavaScript (javascript)
Restart Apache
/etc/init.d/apache2 reload
so many ways to restart apache
depends on different machine~
last time i tried
/etc/init.d/apache2 restart
/etc/init.d/httpd restart
I’d rather use “reload” instead of “restart”.
If you use reload and there’s a problem with it, it won’t do it. So all the sites in the server will still be running.
Thanks for posting leo 😉