一、安装centos 若是是5.5版本的 默认的php 只有5.1php
二、关闭selinux 由于你永远没法判断为啥出错linux
二、下载xampp for linux 而后运行便可。centos
三、配置便可配置