centos7 nginx+php5.6+mysql安装与配置
2019-07-04 21:16:43
安装与配置 php 56的安装 php的配置写在 php.ini,可在phpinfo()中查看 //查找已安装 yum list installed | grep php // php卸载 yum -y remove php56* yum remove httpd* php* 可用的资源: centos 安装php56+nginx nginx + php-fpm nginx安装 sudo rpm -Uvh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm sudo yum install -y nginx sudo systemctl start nginx.service // 开机启动 s...
CentOS 7 安装php5.6,Nginx,Memcached环境及配置
2019-07-04 21:15:48
安装php5.6版本以后不再需要安装Zend Guard,而是用yum命令安装php-opcache及php-pecl-apcu就可以有效的提高php执行速度。 1. 配置yum源 事先确认yum源的链接是不是有效的。 yum install epel-release rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm 3. 确认安装的php版本 yum list --enablerepo=remi --enablerepo=remi-php56 | grep php 4. 安装php5.6 yum install --enablerepo=remi --enablerepo=remi-php56 php php-opcache php-pecl-...