Difference between revisions of "/usr/lib/php/sessionclean (shell script)"
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>/ | + | <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> | ||
− | + | /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 == | ||
− | * | + | * {{PHP sessions}} |
* {{PHP}} | * {{PHP}} | ||
[[Category:PHP]] | [[Category:PHP]] |
Latest revision as of 07:22, 9 October 2021
sessionclean
is a sh
script to cleanup stale PHP sessions. It is included in php-common
package in Ubuntu and Debian.
/usr/lib/php/sessionclean (no output)
Activities[edit]
- Execute manually
sessionclean
to clean your php sessions - Read https://www.getpagespeed.com/server-setup/php/cleanup-php-sessions-like-a-pro
Related terms[edit]
- Ubuntu
phpsessionclean systemd
service find "/proc/$pid/fd" -ignore_readdir_race -lname "$save_path/sess_*" -exec touch -c {} \
See also[edit]
- PHP sessions,
session_start
,php -i | grep session
,/var/lib/php/sessions/
, sessionclean,phpsessionclean.service (systemd service)
- PHP,
php-fpm, www.conf
,php -i
, PHP sessions, symfony,fastcgi_pass
,sessionclean (shell script)
,phpsessionclean.service (systemd service),phpquery
,php.ini
,/var/log/php*
, PECL,php --help
, PHPUnit, Laravel, PHP framework, Composer,phpbrew, Xdebug, php --version
, PHP Fatal error, Hello, World! (php)]
Advertising: