|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-12-18 12:22 UTC] [email protected]
[2010-12-18 12:22 UTC] [email protected]
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: fat
[2010-12-18 12:22 UTC] [email protected]
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 11:00:02 2025 UTC |
Description: ------------ php-fpm --test always return 255 It will be great if the return code give information about the result. It will allow to create an "intelligent" init script to reload the config Something like: if php-fpm --test; then killproc -p ${pidfile} php-fpm -USR2 fi Test script: --------------- # php-fpm --test ; echo $? Expected result: ---------------- Dec 12 17:35:19.752605 [NOTICE] configuration file /etc/php-fpm.conf test is successful 0 Actual result: -------------- Dec 12 17:35:19.752605 [NOTICE] configuration file /etc/php-fpm.conf test is successful 255