CentOS 6.5 x64 + Ajendi +nginx + php-fpm + mysql setup unable to load the PHP page
Posted
by
Francis
on Server Fault
See other posts from Server Fault
or by Francis
Published on 2014-05-28T14:37:20Z
Indexed on
2014/05/28
15:31 UTC
Read the original article
Hit count: 251
I'm using Ajendi to setup a PHP web server, I can load the PHP info page, when I try to load the PHP copy from other server, I get a blank page with this log appear on access log, I have no clue what was wrong and troubleshoot further, please advice.
x.x.x.x - - [28/May/2014:10:08:37 -0400] "GET /index.php HTTP/1.1" 200 31 "-" "Mozilla/5.0 (Windows NT 6.1; rv:29.0) Gecko/20100101 Firefox/29.0"
2.6.32-431.1.2.0.1.el6.x86_64
cat /etc/redhat-release CentOS release 6.5 (Final)
The vhost config
AUTOMATICALLY GENERATED - DO NO EDIT!
server { listen *:80;
server_name test.com www.test.com;
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
root /www;
index index.html index.htm index.php;
location ~ \.php$ {
alias /www;
fastcgi_index index.php;
include fcgi.conf;
fastcgi_pass unix:/var/run/php-fcgi-php-fcgi-0.sock;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
}
© Server Fault or respective owner