phpsessionclean.service (systemd service)
(Redirected from Phpsessionclean (systemd service))
Jump to navigation
Jump to search
phpsessionclean.service
is a systemd service in Ubuntu that executes /usr/lib/php/sessionclean
sh
script to clean stale php sessions. It is run every 30 minutes by phpsessionclean.timer.
systemctl cat phpsessionclean
orcat /lib/systemd/system/phpsessionclean.service
[Unit] Description=Clean php session files [Service] Type=oneshot ExecStart=/usr/lib/php/sessionclean ProtectHome=true ProtectSystem=true PrivateTmp=true
To disable service:
systemctl stop phpsessionclean.service
systemctl disable phpsessionclean.service
systemctl stop phpsessionclean.timer
systemctl disable phpsessionclean.timer
Activities[edit]
- Execute manually
sessionclean
shell script to clean your PHP sessions
Related terms[edit]
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)] - Systemd services:
systemctl
[status | is-active | start | daemon-reload | stop | mask
|reload
|restart
|reboot
|enable
|disable
|cat
],systemctl list-units
,systemctl list-timers
,systemctl --failed
,systemctl get-default
,systemctl --help
,.service, .timer, .socket
,systemctl restart elasticsearch.service
,systemctl status apt-daily
,systemctl status oscapd
Advertising: