在服务器下源码安装了 mysql php nginx,结果nginx不支持php。解决方法,在nginx配置文件中添加:
ocation ~ .*\.php?$ { fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; include fastcgi.conf; }