【发布时间】:2014-07-23 01:17:09
【问题描述】:
我的 Zend 应用程序有问题。当我打开http://ip-193-187-64-113.e24cloud.com/ 时,只有一个空白页面,而不是加载的布局。 这是我的 nginx.conf(包含在主 nginx.conf 中)
server {
listen 80;
server_name localhost;
error_log /var/log/postgre.yourdomain.com_error.log error;
root /var/www/test/public;
index index.html index.php;
location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
if (!-f $document_root$fastcgi_script_name) {
return 404;
}
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
}
}
我使用的是 Ubuntu 14.04、nginx 和 postgresql、php 5.5
感谢您的帮助!
【问题讨论】:
-
有关专业服务器、网络或相关基础设施管理的问题不在 Stack Overflow 的主题范围内。
标签: php zend-framework nginx