[php-maint] Bug#823784: php5-fpm-checkconf fails to catch errors

Felix Geyer fgeyer at debian.org
Sun May 8 22:21:43 UTC 2016


Package: php5-fpm
Version: 5.6.20+dfsg-0+deb8u1

Hi,

/usr/lib/php5/php5-fpm-checkconf greps for errors using the pattern "\[ERROR\]".
php5-fpm seems to report errors without "[" "]" though.
As a result php5-fpm-checkconf basically never reports an error.

For example a syntax error results in:
# /usr/sbin/php5-fpm --fpm-config /etc/php5/fpm/php-fpm.conf -t
[08-May-2016 22:15:25] ERROR: [/etc/php5/fpm/pool.d/www.conf:1] value is NULL for a ZEND_INI_PARSER_ENTRY
[08-May-2016 22:15:25] ERROR: Unable to include /etc/php5/fpm/pool.d/www.conf from /etc/php5/fpm/php-fpm.conf at line 1
[08-May-2016 22:15:25] ERROR: failed to load configuration file '/etc/php5/fpm/php-fpm.conf'
[08-May-2016 22:15:25] ERROR: FPM initialization failed

Cheers,
Felix



More information about the pkg-php-maint mailing list