Vote count:
0
I've looked into around 25 different tutorials and threads on this issue and how installation should go, yet I am still getting this error.
Whenever I visit a PHP page after installing php5-fpm to sit alongside NGINX, it renders a white page with no error messages, also note that in /var/log/NGINX, the log is empty.
My virtual host's config looks like this:
location ~ \.php$ {
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_intercept_errors on;
include /etc/nginx/fastcgi_params;
}
And my www.conf is using the following parameters besides the defaults:
listen = /var/run/php5-fpm.sock
listen.owner = www-data
listen.group = www-data
listen.mode = 0660
user = www-data
group = www-data
Any help appreciated! I've also tried using the TCP port instead of the socket, and I already checked the location of the "fastcgi_params" file and it's where it should be.
asked 17 secs ago
White Page After Installing PHP NGINX
Aucun commentaire:
Enregistrer un commentaire