安装EPEL
EPEL 是 Extra Packages for Enterprise Linux 的缩写(EPEL),是用于 Fedora-based Red Hat Enterprise Linux (RHEL) 的一个高质量软件源,所以同时也适用于 CentOS 或者 Scientific Linux 等发行版。
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum install epel-release 
 
安装PHP 采用webtatic的编译版本
yum install php70w php70w-devel php70w-bcmath php70w-fpm php70w-mbstring php70w-pdo php70w-soap php70w-mysql php70w-gd
 
安装memcached for php7
cd php-memcached
git checkout php7
phpize
./configure --disable-memcached-sasl
make && make install
 
add
extension=memcached.so
to php.ini
 
安装redis for php7
cd phpredis
git checkout php7
phpize
./configure
make && make install
 
add
extension=redis.so
to php.ini

相关文章:

  • 2021-09-22
  • 2021-12-18
  • 2021-12-02
  • 2021-07-20
  • 2022-02-03
  • 2021-09-18
  • 2021-07-06
  • 2022-12-23
猜你喜欢
  • 2021-11-08
  • 2022-03-06
  • 2022-12-23
  • 2021-11-20
  • 2021-07-13
  • 2022-12-23
  • 2022-01-22
相关资源
相似解决方案