Skip to content

PHP-FPM Config listen directive no longer works with localhost IP after 8.5.2 #1653

Description

@MiikaH

It looks like PHP-FPM starting with 8.5.2 no longer works with listen = 127.0.0.1:9000 config option.

I'm not sure if this is intentional change, but I don't seem to find anything about it in PHP change logs or elsewhere. Took me good while to figure out why upgrading from 8.5.0 to 8.5.4 caused Nginx unable to connect to PHP FPM anymore. Usually semver "patch versions" don't contain breaking changes so that is also making me wonder if this is a bug.

Basically, a www.conf with listen = 127.0.0.1:9000:

  • Has worked for years in versions php:8.5.1-fpm and earlier.
  • php:8.5.2-fpm - php:8.5.4-fpm it results in Nginx 502 Bad Gateway unless changed to just listen = 9000

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions