centos7安装php7与mysql5.6-by 大家学分享站

本人博客链接:http://www.lwxshow.com/tutorials/centos-7-install-php-7-mysql-5-6.html

centos7安装 php7 与mysql5.6
一种方式是,使用git clone下来。
git clone https://github.com/bradallenfisher/php7-centos7-mysql5.6.git;cd php7-centos7-mysql5.6; vagrant up

如果没有安装 git可以执行如下代码
yum install git -y;git clone https://github.com/bradallenfisher/php7-centos7-mysql5.6.git; cd php7-centos7-mysql5.6; chmod 700 install.sh; ./install.sh

如何去安装

log into a "FRESH" virtual machine from Linode or Digital Ocean
run the one liner from above...
add a user other than root
mv the post-install.sh script to that user's home directory
run the post-install.sh script as the new user

猜你喜欢

转载自xshow.iteye.com/blog/2263521