]> 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>
Thu, 17 Jan 2013 14:40:43 +0000 (16:40 +0200)
commit5151b48741109dc70350cbfb37214e884cc2f161
tree564cfa84e89adbb57432761e929a6c34d6b37b33
parentc2d33e29ad925eddfa0bb8ccfcf59de75248460b
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-config.patch
php-fpm.init
php-fpm.logrotate
This page took 0.052885 seconds and 4 git commands to generate.