session_start(): Failed to read session data: files (path: /var/lib/php/session)

Image of session_start(): Failed to read session data: files (path: /var/lib/php/session)
3

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

Posted by admin 70 days ago in Computer  |  netzender.com
 

Who Voted

admin   topo   nearwow  

Leave a comment