linux - phpmyadmin, neginx error.log - Check group www-data has read access and open_basedir -
i have message on phpmyadmin website
the phpmyadmin configuration storage not configured, extended features have been deactivated. find out why click here.
on 'click here' page have this: page printscreen
my nginx error are:
2014/06/27 15:08:15 [error] 4922#0: *886 fastcgi sent in stderr: "php message: phpmyadmin: failed load /var/lib/phpmyadmin/blowfish_secret.inc.php check group www-data has read access , open_basedir restrictions. php message: phpmyadmin: failed load /var/lib/phpmyadmin/config.inc.php check group www-data has read access , open_basedir restrictions.2014/06/27 15:17:07 [error] 5119#0: *939 fastcgi sent in stderr: "php message: phpmyadmin: failed load /var/lib/phpmyadmin/blowfish_secret.inc.php check group www-data has read access , open_basedir restrictions. php message: phpmyadmin: failed load /var/lib/phpmyadmin/config.inc.php check group www-data has read access , open_basedir restrictions" while reading response header upstream, client: 1***, server: _, request: "get /phpmyadmin/js/messages.php?lang=en&db=&token=**** http/1.1", upstream: "fastcgi://unix:/var/lib/php5-fpm/ispconfig.sock:", host: "****:8080", referrer: "https://****:8080/phpmyadmin/chk_rel.php?db=&table=&server=1&target=&token=****"
i give them permissions cmd 3 files:
chgrp www-data /var/lib/phpmyadmin/blowfish_secret.inc.php chmod 644 /var/lib/phpmyadmin/blowfish_secret.inc.php
how fix open_basedir restrictions?
i checked google didn't find anything. please give me or tips how fix it. thank you!
ubuntu version:
distrib_id=ubuntu distrib_release=14.04 distrib_codename=trusty distrib_description="ubuntu 14.04 lts"
here's configuration:
drwxr-xr-x 3 root root 4096 feb 14 10:05 phpmyadmin/
that's folder. , 2 files:
-rw-r----- 1 root www-data 60 feb 14 10:05 blowfish_secret.inc.php -rw-r----- 1 root www-data 0 feb 14 10:05 config.inc.php
hope help. check php5-mcrypt extension. if it's not working properly, use
sudo php5enmod mcrypt
to install it, , restart ngnix. here commands:
chmod 755 /var/lib/phpmyadmin chmod 664 /var/lib/blowfish_secret.inc.php chmod 664 /var/lib/config.inc.php
those commands should work. :)
Comments
Post a Comment