title: ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied
body: <blockquote>
    <p>Notice: SessionHandler::gc(): ps_files_cleanup_dir:
    opendir(/var/lib/php/sessions) failed: Permission denied (13)</p>
  </blockquote>
  
  <p>I edit my php.ini file and add session.gc_probability = 0, but it not worked for me!</p>
  
  <pre><code>anboo@anboo-desktop:~/$ php -r "var_dump(ini_get('session.gc_probability'));"
  
  string(1) "0"
  </code></pre>
  
  <p>CLI and FPM configurations is identical files</p>
  
  <blockquote>
    <p>$ php -v PHP 7.0.14-2+deb.sury.org~trusty+1 (cli) ( NTS ) Copyright
    (c) 1997-2016 The PHP Group Zend Engine v3.0.0, Copyright (c)
    1998-2016 Zend Technologies
        with Zend OPcache v7.0.14-1+deb.sury.org~trusty+1, Copyright (c) 1999-2016, by Zend Technologies</p>
  </blockquote>