nginx成功安裝並跑起來了
php安裝成功且php-fpm成功運行:service php-fpm start
netstat -antp | grep :80
netstat -antp | grep :9000
,80和9000端口都處於監聽狀態
nginx能訪問html靜態文件但無法訪問php文件
html網頁可以跑起來但是,PHP就是跑不起來......
一、“裝完了記得啟動php-fpm服務器 ” 一定要啟動
二、檢查自己網站的nginx配置,尤其是圖片標明的幾點