1. The first step is to see Linu are you installing the MySQL , after rpm-qa|grep MySQL Check to see CentOS under Installation MySQL
If there is an installation, uninstall the previous low version
Rpm-qa|grep MySQL
rpm-e--nodeps with MySQL version
Configure the following two sources
RPM-UVH http://mirror.steadfast.net/epel/6/i386/epel-release-6-8.noarch.rpm
RPM-UVH http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
installation MySQL
Yum--enablerepo=remi,remi-test list MySQL Mysql-server
Yum--enablerepo=remi,remi-test install MySQL Mysql-server
Start MySQL
/etc/init.d/mysqld start
Set boot up
Chkconfig--levels 345 mysqld on
Reset Password
/usr/bin/mysql_secure_installation
Choose and set your password later
2.PHP
Yum installation PHP
RPM-UVH http://repo.webtatic.com/yum/el6/latest.rpm
Yum Install php70w Php70w-opcache
Change into About is that php5.6.30
This article is from the "high-tech blog" blog, please be sure to keep this source http://gpj1997.blog.51cto.com/12830710/1941020
Yum installs different versions of mysql,php