ENV: ubuntu的9.10/ 使用gotdeb源/ PHP版本5.3.1/ 的php5-fpm的安裝/nginx的不分析的PHP請求
的php5-FPM正在運行,並通過監聽9000端口測試下面
pgrep php5-fpm
telnet localhost 9000
然而
2級的命令,如果我在LAN anthor計算機訪問,使用此地址
http://192.168.1.103/index.php
瀏覽器問我保存這個index.php文件,但如果訪問的index.php,一切順利
啓用站點-/默認文件內容 ENV: Ubuntu 9.10的/ 使用gotdeb源/ PHP版本5.3。 1/ 的php5-fpm的安裝/
的php5-FPM正在運行,並通過2個命令下面
pgrep php5-fpm
telnet localhost 9000
然而
監聽9000端口測試,如果我在LAN anthor計算機訪問,使用此地址
http://192.168.1.103/index.php
瀏覽器問我保存這個index.php文件,但如果訪問的index.html,一切順利
網站啓用/默認的文件內容
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000
fastcgi_index index.php
fastcgi_param SCRIPT_FILENAME /var/www/$fastcgi_script_name
include fastcgi_params
}