lando / lando/php

How to override Lando's PHP-FPM settings

Open
#108 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

4.x documentation enhancement good first issue
Dominant language
Dockerfile
Stars
20
Forks
18
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the proposed .lando.yml volume override and the .lando/php-fpm.conf recipe first. Confirm where this documentation belongs in the repository, then document the PHP-FPM override so the configuration and its intended result are clear.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, php
Domain
devops, documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.