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 step(git clone). I need apcu extension for my app to perform faster. Please guide to install apcu extension for php 7 on debian.
First, I'm assuming you installed PHP7 using the DotDeb APT Repository. If not, this is how you should install it.
Once PHP7 is installed and working properly, and assuming there are no other versions of PHP installed on the system, install apcu
via:
sudo apt-get install php7.0-dev
pecl channel-update pecl.php.net
pecl install apcu
echo "extension=apcu.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
Just press enter if prompted to specify any configuration.