关于卸载php5.6之后安装php7

/var/lib/php/session  老没有这个文件夹  新建  chmod -R 777 /var/lib/php/session权限

yum install php70w-common php70w-fpm php70w-opcache php70w-gd php70w-mysqlnd php70w-mbstring php70w-pecl-redis php70w-pecl-memcached php70w-devel php70w-mcrypt 

前提 php之前版本卸载干净了的

Error: php70w-common conflicts with php-common-5.6.40-5.el6.remi.x86_64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
 安装redis扩展的时候可以用第一个跳过

如果第一次安装报错优先安装 php70w-devel

猜你喜欢

转载自blog.csdn.net/u014756339/article/details/88771220