Howto install APCu for PHP 7.0 FPM with Plesk 17.0 on Ubuntu
APCu allows you to increase the website performance of your (TYPO3) website
Published in
1 min readNov 30, 2017
1. Install dependencies
apt-get install plesk-php70-devel gcc
2. Install APCu
/opt/plesk/php/7.0/bin/pecl install apcu
3. Enable APCu in PHP configuration
echo "extension=apcu.so" > /opt/plesk/php/7.0/etc/php.d/apcu.ini
4. Update PHP handlers
plesk bin php_handler --reread
5. Restart PHP 7.0 FPM
service plesk-php70-fpm restart
6. Check if APCu can be used
- Create a php file with
<?php phpinfo();
and open in browser. - OR use Plesk’s builtin phpinfo() page: Subscriptions >your.website.at > PHP Settings > View the phpinfo() page
Written with ♥️ in 🇦🇹