Phpmyadmin error after update Topic is solved

Questions regarding the Database Server
MySQL, PostgreSQL, MariaDB, Percona Server, phpMyAdmin, phpPgAdmin
Harry77
Posts: 10
Joined: Tue Jun 28, 2016 5:51 am

Phpmyadmin error after update

Postby Harry77 » Fri Sep 30, 2016 4:00 am

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)

Image

Cookies are enabled, Does anyone have a solution or can tell me how can I look for the cause?

I thank you in advance

qaisarali
Posts: 1
Joined: Mon Oct 17, 2016 11:10 am

Re: Phpmyadmin error after update  Topic is solved

Postby qaisarali » Mon Oct 17, 2016 11:12 am

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

Harry77
Posts: 10
Joined: Tue Jun 28, 2016 5:51 am

Re: Phpmyadmin error after update

Postby Harry77 » Sat Oct 22, 2016 5:22 am

Thanks a lot,
Now it works!

vedavrat
Posts: 22
Joined: Thu Jun 11, 2015 3:02 pm

phpMyAdmin - Error "session_start(): open(SESSION_FILE, O_RDWR)) failed: Permission denied (13)"

Postby vedavrat » Thu Jan 26, 2017 1:20 am

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?..

LonerD
Posts: 5
Joined: Thu Sep 22, 2016 10:49 pm

Re: Phpmyadmin error after update

Postby LonerD » Tue Apr 25, 2017 6:25 pm

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.

BoburTursunov
Posts: 1
Joined: Thu Nov 23, 2017 11:48 pm

Re: Phpmyadmin error after update

Postby BoburTursunov » Thu Nov 23, 2017 11:52 pm

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


Return to “Database Server”



Who is online

Users browsing this forum: No registered users and 5 guests

cron