Title: Failure to write session data
Last modified: August 24, 2016

---

# Failure to write session data

 *  [thekentuckygent](https://wordpress.org/support/users/thekentuckygent/)
 * (@thekentuckygent)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/failure-to-write-session-data/)
 * Working on site, thekentuckygent.com.
 * When reviewing PHP error logs the below error runs rampant on the site, and I’m
   unsure how to fix?
 * Unknown: Failed to write session data (files). Please verify that the current
   setting of session.save_path is correct
 * Any help would be appreciated!

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Lalit Nagrath](https://wordpress.org/support/users/laliz/)
 * (@laliz)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/failure-to-write-session-data/#post-5981684)
 * if you are on Shared Hosting i will advice to contact support because i guess
   access to php.ini would be restrictive else you can look into php.ini and add
   session_save_path(“/tmp”);
 * reference [http://php.net/manual/en/function.session-save-path.php](http://php.net/manual/en/function.session-save-path.php)
 * take backup of php.ini before any modifications in case to revert back.
 *  Thread Starter [thekentuckygent](https://wordpress.org/support/users/thekentuckygent/)
 * (@thekentuckygent)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/failure-to-write-session-data/#post-5981692)
 *     ```
       ; http://php.net/session.save-path
       session.save_path = "home/thekent2/tmp"
       ```
   
 * Above is the current session save path in php.ini.
 *  [MarkRH](https://wordpress.org/support/users/markrh/)
 * (@markrh)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/failure-to-write-session-data/#post-5981723)
 * You might put an info.php file into your blog’s directory with:
 *     ```
       <?php
       phpinfo();
       ?>
       ```
   
 * Then execute that and verify where it thinks the **Loaded Configuration File**
   and **session.save_path** is. In my case it’s just “/tmp” which is off my user
   directory.
 * Might make sure with webhost that the drive just isn’t simply full.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Failure to write session data’ is closed to new replies.

## Tags

 * [error logs](https://wordpress.org/support/topic-tag/error-logs/)
 * [Logs](https://wordpress.org/support/topic-tag/logs/)
 * [php-error](https://wordpress.org/support/topic-tag/php-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [MarkRH](https://wordpress.org/support/users/markrh/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/failure-to-write-session-data/#post-5981723)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
