1、移除已经存在的http和php包yum remve httpd* php*
3、安装php和php-fpmyum install php php-fpm
5、启动nginx和php-fpm服务
7、将php-fpm和nginx的启动用户统一