]> git.pld-linux.org Git - packages/php.git/commit
use /var/run for fpm pid files
authorElan Ruusamäe <glen@delfi.ee>
Thu, 17 Jan 2013 14:37:44 +0000 (16:37 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 21 Jan 2013 10:19:23 +0000 (12:19 +0200)
commitcb14616a3214387c568d08c2bb8db289fbe18e97
tree7084ce941bdb22fa793fd33b5992c305c01a51e7
parent65c2b55f044d762b1427ef8b9c1a9117b4c3935f
use /var/run for fpm pid files

currently /var/run/php is cleaned up by php session cleanup script
which cleans up everything in that dir, not only php session files

so as consequence this removes php-fpm pidfiles and service restart
remains confused what to stop.

php-wsdl cache files get nuked by the same problem, so those could be
moved to /var/cache/php, so they could survive reboots

probably it's wrong to have /var/run/php as php-session storage (note
the generic namem it's not /var/run/php/sessions etc), but changing that
would need more efforts, as need to support old and new configuration,
and each php sapi could have different config (they have different
php.ini (or equivalent) files)
php-fpm.init
php-fpm.logrotate
This page took 0.177575 seconds and 4 git commands to generate.