Skip to content

FPM: config test runs twice in daemonised mode #11086

Closed

Description

@bukka

Description

If FPM config test is run it prints the successful config test message twice:

$ php-fpm  -y fpm.conf -t
[16-Apr-2023 11:41:06] NOTICE: configuration file fpm.conf test is successful
[16-Apr-2023 11:41:06] NOTICE: configuration file fpm.conf test is successful

This should be fixed so it runs just once.

PHP Version

PHP 8.1

Operating System

Linux

Activity

  1. added a commit that references this issue on Feb 8, 2024
    246cc5a
  2. bukka commented on Feb 8, 2024

    @bukka
    MemberAuthor

    Fix is in #13357. The problem is not actually running the test config twice but printing the message twice due to wrongly identifying stderr. This actually is not problem only with test config but it will also duplicate config error during the actual run in daemonized mode.

  3. added a commit that references this issue on Mar 9, 2024
    a19267d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions