Error In Php file

I got this issue please help me…

A PHP Error was encountered Severity: Warning Message: fopen(/var/lib/php/sessions/ci_sessionbjsk3ii2igj14muuc5t9p4t8k7d0buvh): failed to open stream: No space left on device Filename: drivers/Session_files_driver.php Line Number: 172

A PHP Error was encountered Severity: Warning

Message: session_write_close(): Failed to write session data (user). Please verify that the current setting of session.save_path is correct (/var/lib/php/sessions)

Filename: Unknown

Line Number: 0



Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello, all

You can examine the disk space usage and delete any data which is not crucial to your application or website. What is the output of the following command:

  1. df -h

Also, I could suggest following the steps from this answer here on how to find the folders that are using the most disk space:

The other option will be to resize the droplet. You can check this article on how to resize your droplet:

Hope that this helps! Regards, Alex


Could you run for us df -h and df -i and paste the output?