]> 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 15:03:38 +0000 (17:03 +0200)
commitd936e544cae2eb662d0b6a9ac9e82e7d4ecbbffd
treeb14936f5fc795f2eb3332f716033117ffc89aa3c
parent3263298d58dcf7b7b8d1769e5a92c22334560df7
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.757558 seconds and 4 git commands to generate.