我看过这个ubuntu教程。http://thereluctantdeveloper.com/2015/12/quick-and-dirty-php-70-set-up-on-ubuntu-1404-with-apcu http://thereluctantdeveloper.com/2015/12/quick-and-dirty-php-70-set-up-on-ubuntu-1404-with-apcu
步骤(git克隆)之后我不清楚。
我需要 apcu 扩展才能让我的应用程序执行得更快。
请指导在 debian 上安装 php 7 的 apcu 扩展。
首先,我假设您使用以下命令安装了 PHP7DotDeb APT 存储库 https://www.dotdeb.org/instructions/。如果没有,您应该按照以下方式安装它。
安装 PHP7 并正常工作后,假设系统上没有安装其他版本的 PHP,请安装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*||"`
如果提示指定任何配置,只需按 Enter 键即可。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)