Editing PHP sessions
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | + | [[php]] -i | grep session.save_path | |
− | + | session.save_path => /var/lib/php/sessions => /var/lib/php/sessions | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | session.save_path => /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]] | ||
Line 18: | Line 7: | ||
; session.save_path = "N;MODE;/path" | ; session.save_path = "N;MODE;/path" | ||
;session.save_path = "/var/lib/php/sessions" | ;session.save_path = "/var/lib/php/sessions" | ||
− | ; (see session.save_path above), then | + | ; (see session.save_path above), then garbage collection does *not* |
Ref: https://stackoverflow.com/a/30127516 | Ref: https://stackoverflow.com/a/30127516 | ||
− | |||
− | |||
− | |||
== Related terms == | == Related terms == | ||
− | * [[ | + | * <code>[[sessionclean]]</code> php binary |
− | + | * <code>[[phpsessionclean]] [[systemd]]</code> service | |
− | |||
− | |||
− | * <code>[[ | ||
− | |||
− | |||
− | |||
== See also == | == See also == | ||
− | |||
* {{PHP}} | * {{PHP}} | ||
[[Category:PHP]] | [[Category:PHP]] |
Advertising: