Full text of the 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)

When I log in to phpmyadmin, I get such an error, I put chmod on the / var / lib / php / session / folder, and the tmp folder is still under the root and uncommented and wrote the session.save_path = "/ var / lib / php / session in php.ini "

Nothing helps, does anyone know how to deal with this? CentOS 6.9 VestaCP httpd + nginx

  • Who is the owner of / var / lib / php / session and under what user is php running? - KAGG Design
  • as root apache but also as root: root doesn't work either - Freedoms
  • same problem. on which folders? - shkv2

1 answer 1

I found the problem when I installed the https://github.com/Skamasle/sk-php-selector php selector on the West, then the selector needed to set the rights on all folders of the puff and not on the current one that works on the server.