1.yum install nginx
2.yum php php-fpm
3.ps -ef | grep php-fpm 檢視fpm是否啟動
4. 啟動php-fpm systemctl restart php-fpm
5.根據需要安裝一些php相關的包