From: Debian PHP Maintainers Date: Sat, 2 May 2015 08:26:54 +0000 (+0200) Subject: php-fpm-sysconfdir X-Git-Tag: archive/raspbian/8.2.26-4+rpi1^2~37 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=581a2e8abbfcb3931224cce2098c04d6f23594da;p=php8.2.git php-fpm-sysconfdir Gbp-Pq: Name 0013-php-fpm-sysconfdir.patch --- diff --git a/sapi/fpm/fpm/fpm_conf.c b/sapi/fpm/fpm/fpm_conf.c index 389a85a7..3ba4e005 100644 --- a/sapi/fpm/fpm/fpm_conf.c +++ b/sapi/fpm/fpm/fpm_conf.c @@ -1839,7 +1839,7 @@ int fpm_conf_init_main(int test_conf, int force_daemon) /* {{{ */ char *tmp; if (fpm_globals.prefix == NULL) { - spprintf(&tmp, 0, "%s/php-fpm.conf", PHP_SYSCONFDIR); + spprintf(&tmp, 0, "%s/php/%d.%d/fpm/php-fpm.conf", PHP_SYSCONFDIR, PHP_MAJOR_VERSION, PHP_MINOR_VERSION); } else { spprintf(&tmp, 0, "%s/etc/php-fpm.conf", fpm_globals.prefix); }