title: Redis Sessions in PHP ignoring php.ini settings
body: <p>We recently switched our PHP SESSION management from memcache to Redis.  While the SESSIONs are being stored properly, we noticed that people are now being logged out every 1440s, or the default value for <code>session.gc_maxlifetime</code>.  However in our php.ini file, we have the following values set:</p>
  
  <pre><code>session.gc_maxlifetime = 86400
  session.cookie_lifetime = 86400
  </code></pre>
  
  <p>I've confirmed, via <code>phpinfo()</code>, that these values are correctly read ONLY when we have our save handler set as <code>session.save_handler = files</code>.  However whenever we have our save handler set to Redis, those php.ini values are ignored and the default PHP values are used.  The Redis lines in our php.ini are:</p>
  
  <pre><code>session.save_handler = redis
  session.save_path = tcp://127.0.0.1:6379?auth=noauth
  </code></pre>
  
  <p>My thought was that maybe there is another argument I can pass into the session.save_path URL to set the TTL value of the key, but documentation is scarce on which arguments are valid.  Is there a way have Redis get the correct TTL value from php.ini?  Or a way to pass it in the URL?</p>