Skip to content

Revisit php performance configuration #990

@dasrecht

Description

@dasrecht

During some performance related work for a client, i realized that our images set pcre.jit to 0 https://github.com/uselagoon/lagoon-images/blame/main/images/php-fpm/00-lagoon-php.ini.tpl#L23-L23C9

This seems to only affect the 00-lagoon-php config, but I think we should revisit this for the default configuration because pcre.jit might be disabled on the default configuration.

Based on the php.net configuration this should be set to 1 per default which also has a performance gain on regex heavy php code
https://www.php.net/manual/en/pcre.configuration.php

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