Difference between revisions of "PHP sessions"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 17: | Line 17: | ||
* <code>[[sessionclean]]</code> php binary | * <code>[[sessionclean]]</code> php binary | ||
* <code>[[phpsessionclean.service]] [[systemd]]</code> service | * <code>[[phpsessionclean.service]] [[systemd]]</code> service | ||
+ | |||
+ | == Activities == | ||
+ | * Read https://www.getpagespeed.com/server-setup/php/cleanup-php-sessions-like-a-pro | ||
== See also == | == See also == |
Revision as of 00:07, 11 September 2021
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
php sessions Could not open input file: sessions
Related terms
sessionclean
php binaryphpsessionclean.service systemd
service
Activities
See also
- 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: