How install apcu as php7 extension on debian

前端 未结 6 1093
佛祖请我去吃肉
佛祖请我去吃肉 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:42

    Just installed APCu on a Ubuntu 14.04.3 LTS with PHP 7.0.3-2:

    $ pecl install apcu
    $  cat > /etc/php/mods-available/test.ini
    ; configuration for php apcu module
    ; priority=20
    extension=apcu.so
    $ ln -s /etc/php/mods-available/apcu.ini /etc/php/7.0/fpm/conf.d/20-apcu.ini
    $ service php7.0-fpm restart
    

    phpinfo() output:

    phpinfo-apcu

提交回复
热议问题