Difference between revisions of "PHP sessions"

From wikieduonline
Jump to navigation Jump to search
(Created page with " == See also == * {{PHP}}")
 
Line 1: Line 1:
 +
 +
SERVER:/usr/lib/php# php -i | grep session.save_path
 +
session.save_path => /var/lib/php/sessions => /var/lib/php/sessions
 +
 +
grep "session.save_path" /etc/php/7.2/apache2/php.ini
 +
;    session.save_path = "N;/path"
 +
;    session.save_path = "N;MODE;/path"
 +
;session.save_path = "/var/lib/php/sessions"
 +
;      (see session.save_path above), then garbage collection does *not*
 +
 +
 +
  
  
Line 4: Line 16:
 
== See also ==
 
== See also ==
 
* {{PHP}}
 
* {{PHP}}
 +
 +
 +
[[Category:PHP]]

Revision as of 10:27, 29 December 2019

SERVER:/usr/lib/php# php -i | grep session.save_path
session.save_path => /var/lib/php/sessions => /var/lib/php/sessions
grep "session.save_path" /etc/php/7.2/apache2/php.ini
;     session.save_path = "N;/path"
;     session.save_path = "N;MODE;/path"
;session.save_path = "/var/lib/php/sessions"
;       (see session.save_path above), then garbage collection does *not*




See also

Advertising: