title: Warning: session_start(): failed: Permission denied (13)
body: <p>I am getting the error: </p>
  
  <pre><code>Warning: Unknown: open(/tmp/sess_beaac196b5082a77131f957bcfa35ee7, O_RDWR) failed: Permission denied (13) in Unknown on line 0
  
  Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0
  </code></pre>
  
  <p>I have checked the /tmp directory and it is writable (using this code):</p>
  
  <pre><code>$filename = '/tmp';
  if (is_writable($filename)) {
      echo 'The file is writable';
  } else {
      echo 'The file is not writable';
  }
  </code></pre>
  
  <p>The php.ini file says session.save_path is /tmp</p>
  
  <p>Is there something obvious I'm missing?</p>
  
  <p>EDIT: I have tried setting a new session path but even after CHMOD 777 it gives me a tells me:</p>
  
  <pre><code>Warning: session_start(): open(/sessions/sess_beaac196b5082a77131f957bcfa35ee7, O_RDWR) failed: No such file or directory (2) 
  </code></pre>