I have seen this tutorial for ubuntu. http://thereluctantdeveloper.com/2015/12/quick-and-dirty-php-70-set-up-on-ubuntu-1404-with-apcu
It\'s not clear for me after st
I know that this post is old but I would like to contrib with the way that works for me, because I tried the three answers in this question and I couldn't install APCU successfully. My problem with the answers wasn't the installation of APCU, pecl install apcu
works and installed it. But I try to add the extension line in php.ini
following each method, but neither of them works for me. I checked in a php file with phpinfo()
and it always didn't show the APCU as installed extension.
After research more in the search results I found a easy way to install it in WPBullet. What I did was to install the packages php-apcu
and php-apcu-bc
with:
sudo apt-get install php7.0-apcu
This works for me without manual writting in php.ini. Don't forget to restart apache2, or whatever you have as server.