Difference between revisions of "PHP sessions"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 3: Line 3:
 
  session.save_path => /var/lib/php/sessions => /var/lib/php/sessions
 
  session.save_path => /var/lib/php/sessions => /var/lib/php/sessions
  
  grep "session.save_path" /etc/php/7.2/apache2/php.ini
+
  grep "session.save_path" /etc/php/7.2/apache2/[[php.ini]]
 
  ;    session.save_path = "N;/path"
 
  ;    session.save_path = "N;/path"
 
  ;    session.save_path = "N;MODE;/path"
 
  ;    session.save_path = "N;MODE;/path"

Revision as of 05:43, 11 May 2020

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*

Ref: https://stackoverflow.com/a/30127516


Related terms

See also

Advertising: