M
M
Mikhail Bazhenov2014-03-20 11:41:16
PHP
Mikhail Bazhenov, 2014-03-20 11:41:16

Why is phpmyadmin throwing a white page?

Installed phpmyadmin + nginx + php-fpm

There are no errors, for mysql all drivers are installed mysqli, pdo

nginx config

server {
                server_name тут IP;
                error_log /var/www/log/error.log;
                access_log /var/www/log/access.log;

                root /var/www/;
                index index.php index.html index.htm;

                location ~ ^/phpmyadmin/(.+\.php)$ {

                        auth_basic "Enter password for access to phpmyadmin";
                        auth_basic_user_file /var/htpasswd;

                        root /var/www/;
                        try_files $uri = 404;
                        fastcgi_pass 127.0.0.1:9000;
                        fastcgi_index index.php;
                        fastcgi_param SCRIPT_FILENAME $fastcgi_script_name;
                        fastcgi_intercept_errors on;

                        include fastcgi_params;
                }
                location ~* ^/phpmyadmin/(.+\.(jpg|jpeg|gif|css|png|js|ico|html$
                        root /var/www/;
                }
        }



phpmyadmin config

RFMyAAI.png

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
Stepan, 2014-03-20
@L3n1n

See logs. Or temporarily enable display_errors

V
Vlad Zhivotnev, 2014-03-20
@inkvizitor68sl

There are errors, they just don't show up on the screen.

M
Mikhail Bazhenov, 2014-03-21
@benign

@rpsl @sim3x @L3n1n @inkvizitor68sl only access writes empty in the logs, error output is enabled, even in the phpmyadmin config there is error output.

S
sps1735, 2014-03-23
@sps1735

on /var/lib/php/session have rights 777?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question