title: PHP Sessions expire too soon
body: <p>I'm running a website with a nginx server with PHP Fastcgi on a VPS. I tried to configure the php.ini (in /etc/php5/cgi) to have PHP session last longer than 3 days (259200 seconds), but it didn't work and my php sessions don't last more than one hour.</p>
  
  <p>My current session config in the php.ini:</p>
  
  <pre><code>session.use_cookies = 1
  session.use_only_cookies = 1
  session.name = PHPSESSID
  session.auto_start = 0
  session.cookie_lifetime = 259200
  session.cookie_path = /
  session.cookie_domain =
  session.cookie_httponly =
  session.serialize_handler = php
  session.gc_probability = 1
  session.gc_divisor = 1000
  session.gc_maxlifetime = 259200
  session.bug_compat_42 = Off
  session.bug_compat_warn = Off
  session.referer_check =
  session.entropy_length = 0
  session.cache_limiter = nocache
  session.cache_expire = 259200
  session.use_trans_sid = 0
  session.hash_function = 0
  </code></pre>
  
  <p>What may be the problem here?</p>