Need Assistance?

In only two hours, with an average response time of 15 minutes, our expert will have your problem sorted out.

Server Trouble?

For a single, all-inclusive fee, we guarantee the continuous reliability, safety, and blazing speed of your servers.

Solved – Failed to read session data

PHP is the most used coding language in web-industry. There are lots of issue a developer faces if the process that handles PHP is not configured spotless by server management team. We at skynats are provision in doing the same

Issue – Failed to read session data

The issue is noticed mostly while the session in php not working like login etc. The usual received error is as below

PHP Warning:  session_start(): open(/var/lib/php/session/sess_cfiolpjscig0kc1n7j798vplaj, O_RDWR) failed: No such file or directory (2)   session_start(): Failed to read session data: files (path: /var/lib/php/session)

Cause – Failed to read session data

There can be more than one cause to this issue here are some

  1. Error is the misconfiguration of PHP process.
  2. Additional conf files for the PHP process.

Resolution – Failed to read session data

To solve this follow the below steps

  1. Check session_handler parameter in the PHP process handler.
  2. Check if the file location is present and has the right permission.
  3. Correct the permission of the file location according to the PHP process handler

Do you want our expert team to fix this issue?


Liked!! Share the post.

Get Support right now!

Start server management with our 24x7 monitoring and active support team

Can't get what you are looking for?

Available 24x7 for emergency support.