Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Nginx 1.6.2-5 White page with php5-fpm 5.6.9

$
0
0
Hi.

Just install a new server with Debian 8, nginx 1.6.2-5, php with php5-fpm (5.6.9) and MariaDB.

When I try test php get a white page.

Configuration for nginx, site and php ity's same that a developer server on rapsberrypi2, with nginx 1.2.1, php with php5-fpm (5.4.41) and mysql 5.6

No show error on logs (nginx and php)

/etc/nginx/nginx.conf
user www-data;
worker_processes 8;
pid /run/nginx.pid;
events {
worker_connections 768;
}
http {
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
types_hash_max_size 2048;
include /etc/nginx/mime.types;
default_type application/octet-stream;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # Dropping SSLv3, ref: POODLE
ssl_prefer_server_ciphers on;
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
gzip on;
gzip_disable "msie6";
include /etc/nginx/conf.d/*.conf;
include /etc/nginx/sites-enabled/*;
}


/etc/nginx/sites-available/tamainut.info.conf
server {
listen 80;
server_name www.tamainut.info;
return 301 $scheme://tamainut.info$request_uri;
}
server {
listen 80; ## listen for ipv4
root /home/tamainut/www/;
index index.php index.html index.htm;
server_name tamainut.info;
location / {
try_files $uri $uri/ /index.html;
}
location ~ \.php$ {
try_files $uri = 404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/var/run/php5-fpm-tamainut.info.sock;
fastcgi_index index.php;
include fastcgi_params;
}
location ~ /\.ht {
deny all;
}
error_log /var/log/nginx/tamainut.info.nginx-error.log crit;
access_log /var/log/nginx/tamainut.info.nginx-access.log;
}

See this topic and others but not work for me.

http://forum.nginx.org/read.php?11,250149

Apreciate help.

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>