How to install APC for PHP

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

About Ricard Torres

Senior Front-end Software Engineer at Netcentric, from Barcelona, Haidong Gumdo Instructor (korean martial art of the sword), street photographer, travel lover, TV addict, Boston Red Sox fan, and privacy advocate.

@ricard_dev @ricard_dev

📝 Blog 🎙 Podcast


Leave a Reply

Add <code> Some Code </code> if you need to.