Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revisit php performance configuration #990

Open
dasrecht opened this issue Apr 30, 2024 · 1 comment
Open

Revisit php performance configuration #990

dasrecht opened this issue Apr 30, 2024 · 1 comment

Comments

@dasrecht
Copy link
Contributor

dasrecht commented Apr 30, 2024

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

@dasrecht
Copy link
Contributor Author

dasrecht commented May 2, 2024

There seems to be some discussion about enabling or disabling JIT by default oerdnj/deb.sury.org#1924

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant