|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2013-08-22 10:38 UTC] yohgaki@php.net
-Status: Open
+Status: Analyzed
-Package: FPM related
+Package: Scripting Engine problem
-Operating System: Linux
+Operating System: any
-PHP Version: 5.4.18
+PHP Version: 5.4 or later
[2013-08-22 10:38 UTC] yohgaki@php.net
[2013-08-22 10:39 UTC] yohgaki@php.net
[2013-08-22 22:37 UTC] yohgaki@php.net
[2021-08-19 15:42 UTC] cmb@php.net
-Package: Scripting Engine problem
+Package: FPM related
[2021-08-31 13:43 UTC] cmb@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 14 18:00:02 2025 UTC |
Description: ------------ If php-fpm.conf contains not correctly commented string (commented with "#" symbol instead of semicolon), debug_backtrace() function doesn't return in message name of file and line where this mistake was done: [args] => Array( [0] => ErrorException Object( [message:protected] => Comments starting with '#' are deprecated in Unknown on line 1 [string:Exception:private] => [code:protected] => 8192 [file:protected] => Unknown [line:protected] => 0 [trace:Exception:private] => Array( [0] => Array( [function] => shutdownHandler [class] => Shared\Error\ErrorHandler [type] => -> [args] => Array() ) ) [previous:Exception:private] => [severity:protected] => 0 ) ) But if such comment is made in config of one of the extensions (e.g. mysql.ini) name of file will be successfully identified for message. [args] => Array( [0] => ErrorException Object( [message:protected] => Comments starting with '#' are deprecated in /etc/php5/fpm/conf.d/20-mysql.ini on line 2 [string:Exception:private] => [code:protected] => 8192 [file:protected] => Unknown [line:protected] => 0 [trace:Exception:private] => Array( [0] => Array( [function] => shutdownHandler [class] => Shared\Error\ErrorHandler [type] => -> [args] => Array() ) ) [previous:Exception:private] => [severity:protected] => 0 ) ) Expected result: ---------------- If not correct comment is in php-fpm.conf message doesn't contain file name: [message:protected] => Comments starting with '#' are deprecated in /etc/php5/fpm/php-fpm.conf on line 7 Actual result: -------------- If not correct comment is in php-fpm.conf message doesn't contain file name: [message:protected] => Comments starting with '#' are deprecated in Unknown on line 1