I've updated Phpmyadmin from 4.4.1 version to 4.4.2 version and started to get this error:
Warning in ./libraries/session.inc.php#101 session_start(): open(/var/lib/php/session/sess_bsv20h8gq58qq1ep33qbfrb7r62jtksi, O_RDWR) failed: Permission denied (13)
Backtrace
./libraries/session.inc.php#101: session_start() ./libraries/common.inc.php#349: require(./libraries/session.inc.php) ./index.php#12: require_once(./libraries/common.inc.php)
This happened on two different machines with Centos 6.6 installed. The serber have Apache 2.2, PHP 5.4 and Nginx as reverse proxy.
In my case, I was running nginx primarily so needed to chown the sessions directory to nginx for user and group... (By default, the session folder was in the apache group).
chown nginx:nginx /var/lib/php/session
Then force refresh the phpMyAdmin page and the session permission related errors are resolved.
And if existing sessions, the contents too:-
chown -R nginx:nginx /var/lib/php/session
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With