How install apcu as php7 extension on debian

前端 未结 6 1086
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-12 21:18

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

6条回答
  •  余生分开走
    2021-02-12 21:46

    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.

提交回复
热议问题