下载php5.5文件方法
http://blog.csdn.net/leejianjun/article/details/52200909
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm
yum list php*
yum install php55w.x86_64 php55w-fpm.x86_64 php55w-mysql.x86_64 php55w-gd.x86_64 libjpeg* php55w-ldap.x86_64 php55w-odbc.x86_64 php55w-pear.noarch php55w-xml.x86_64 php55w-xmlrpc.x86_64 php55w-mbstring.x86_64 php55w-bcmath.x86_64 php-mhash
yum install httpd mysql mysql-server -y
vim /etc/httpd/conf/httpd.conf
Directory index.php
解压安装phpadmin
phpAdmin页面出现“#1273 - Unknown collation”错误的解决
在登录phpAdmin页面时,如出现”#1273 - Unknown collation: 'utf8mb4_general_ci'“错误,是因为字符集的问题,有可能是你的MYSQL没有安装utf8的字符集,将phpMyAdmin目录下的config.inc.php删除掉就可以解决。
http://blog.sina.com.cn/s/blog_63a1500c0101tbkx.html