Difference between revisions of "/usr/lib/php/sessionclean (shell script)"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
 
(28 intermediate revisions by the same user not shown)
Line 1: Line 1:
<code>/usr/lib/php/sessionclean</code> included in <code>[[php-common]]</code> package
+
<code>sessionclean</code> is a <code>sh</code >[[shell script|script]] to cleanup [[stale]] [[PHP sessions]]. It is included in <code>[[php-common]]</code> package in [[Ubuntu]] and [[Debian]].
  
 +
* Homepage: https://gist.github.com/szepeviktor/fc916136216a33430a1e
 +
:<code>[[/usr/lib/php/sessionclean (code)]]</code>
  
  
  [[find]] "/[[proc]]/$pid/fd" -ignore_readdir_race -lname "$save_path/sess_*" -exec touch -c {} \
+
  /usr/lib/php/sessionclean
 +
(no output)
  
 +
 +
== Activities ==
 +
* Execute manually <code>[[sessionclean]]</code> to clean your [[php sessions]]
 +
* Read https://www.getpagespeed.com/server-setup/php/cleanup-php-sessions-like-a-pro
 +
 +
== Related terms ==
 +
* [[Ubuntu]] <code>[[phpsessionclean]] [[systemd]]</code> service
 +
* <code> [[find]] "[[/proc/]]$pid/fd" -[[ignore_readdir_race]] [[-lname]] "$save_path/sess_*" -exec [[touch -c]] {} \</code>
  
 
== See also ==
 
== See also ==
* [[systemd]] [[phpsessionclean]] service
+
* {{PHP sessions}}
 
* {{PHP}}
 
* {{PHP}}
  
  
 
[[Category:PHP]]
 
[[Category:PHP]]

Latest revision as of 07:22, 9 October 2021

Advertising: