Next: Ubuntu – Install Memcached with PHP-FPM and Nginx
APC stands for Alternative PHP Cache is a opcode which also known as machine code. The opcode is cached such that every time a request is sent to server, the same opcode is used until it detects a change in the PHP file.
Installation is easy and straight forward.
1. Install using apt-get.
- apt-get install php-apc
2. Restart PHP-FPM
- /etc/init.d/php5-fpm restart
4. You could configure APC @ /etc/php5/conf.d/apc.ini.
Reference: Life in apps, os’s and code! – Installing APC and Memcached on Ubuntu 12.04 with nginx
2 thoughts on “Ubuntu – Install APC with PHP-FPM and Nginx”