Welcome Guest, Not a member yet? Register   Sign In
Blank Page Nginx, CI 2.1.4 and PHP 5.4.17
#1

[eluser]Unknown[/eluser]
Hi,

I've been upgraded my php version from 5.3 to 5.4.17 my website turned into blank.

My website is working before I upgraded php version.

I checked my php.ini to display errors but I can't see any error logs even in Nginx error log nor browser error.

I get rid some autoload libraries and it works fine.

When I load database or session library it turns blank again.

I am assuming that there is an error but not just displayed or php terminates before outputting error messages.

Code:
[Server Specs]

Linux AMI (Amazon)
PHP 5.4.17
Nginx 1.2.9

Code:
[Server Block]

server {
    listen       80;
    server_name  localhost;
    root /home/ec2-user/domain.com/public_html;
    autoindex on;
    index index.php;

    location / {

        try_files $uri $uri/ /index.php;

        location = /index.php {

            fastcgi_pass   127.0.0.1:9000;
            fastcgi_param  SCRIPT_FILENAME /home/ec2-user/domain.com/public_html$fastcgi_script_name;
            include        fastcgi_params;
        }
    }

    location ~ \.php$ {
        return 444;
    }

    error_page  404              /404.html;
    location = /40x.html {
        root   /usr/share/nginx/html;
    }

    error_page   500 502 503 504  /50x.html;
    location = /50x.html {
        root   /usr/share/nginx/html;
    }

    error_log /home/ec2-user/domain.com/logs/log error;
    access_log /home/ec2-user/domain.com/logs/http.log;
}

Is there anyone encountered this bug?




Theme © iAndrew 2016 - Forum software by © MyBB