http://php.net/manual/zh/install.pecl.php
1、下载apcu并解压
2、进入到解压目录 执行命令 phpize 或者 /usr/bin/phpize
3、执行命令 ./configure --enable-apcu --with-php-config=/usr/bin/php-config make && make install
4、安装完成之后会提示 extensions 和 header 目录:
Installing shared extensions: /usr/local/services/php7/lib/php/extensions/debug-non-zts-20160303/
Installing header files: /usr/local/services/php7/include/php/
5、make test 可以测试安装;