Page 1 of 1
Phpmyadmin error after update
Posted: Fri Sep 30, 2016 4:00 am
by Harry77
Hi,
I have vesta installed on CentOS 6.8 and after update I see the following error:
phpMyAdmin - Error
Error during session start; please check your PHP and/or webserver log file and configure your PHP installation properly. Also ensure that cookies are enabled in your browser.
session_start(): open(SESSION_FILE, O_RDWR)) failed: Permission denied (13)
Cookies are enabled, Does anyone have a solution or can tell me how can I look for the cause?
I thank you in advance
Re: Phpmyadmin error after update
Posted: Mon Oct 17, 2016 11:12 am
by qaisarali
First ensure your session.save_path in your php.ini is set correctly
then check directory permission
sudo chmod 777 /var/lib/php/session/
Finally, clear everything (cache, cookies ..) at browser end, refresh and check
If you make any change in php.ini, restart apache
Re: Phpmyadmin error after update
Posted: Sat Oct 22, 2016 5:22 am
by Harry77
Thanks a lot,
Now it works!
phpMyAdmin - Error "session_start(): open(SESSION_FILE, O_RDWR)) failed: Permission denied (13)"
Posted: Thu Jan 26, 2017 1:20 am
by vedavrat
qaisarali wrote: (1) First ensure your
session.save_path in your
php.ini is set correctly
(2) then check the session
directory permission Code: Select all
sudo chmod 777 /var/lib/php/session/
(3) If you make any change in php.ini,
restart httpd
(4) Finally, clear everything (cache, cookies...) at browser.
And refresh and check.
Thank you. This helped me too.
But:
qaisarali wrote:ensure your session.save_path in your php.ini is set correctly
What is the correct/best value?..
Re: Phpmyadmin error after update
Posted: Tue Apr 25, 2017 6:25 pm
by LonerD
qaisarali wrote:sudo chmod 777 /var/lib/php/session/
Thank you)) Work.
qaisarali wrote:First ensure your session.save_path in your php.ini is set correctly
This key is commented in my php.ini.
I don't know what path is correct and didn't set anything.
Re: Phpmyadmin error after update
Posted: Thu Nov 23, 2017 11:52 pm
by BoburTursunov
qaisarali wrote:First ensure your session.save_path in your php.ini is set correctly
then check directory permission
sudo chmod 777 /var/lib/php/session/
Finally, clear everything (cache, cookies ..) at browser end, refresh and check
If you make any change in php.ini, restart apache
Thank you very very much!!!))) It's working finally. You are genius