Skip to content

How to override Lando's PHP-FPM settings #108

Description

@tormi

Here's a recipe for overriding Lando's default PHP-FPM settings. If necessary, adjust the name of the .lando folder.

.lando.yml

services:
  appserver:
    overrides:
      volumes:
        # Override default PHP-FPM settings.
        - ./.lando/php-fpm.conf:/usr/local/etc/php-fpm.d/www_overrides.conf

.lando/php-fpm.conf

; Override default PHP-FPM settings.
[www]

pm.max_children = 5
pm.start_servers = 2
pm.min_spare_servers = 1
pm.max_spare_servers = 3
pm.max_requests = 500

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

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions