-
-
Notifications
You must be signed in to change notification settings - Fork 113
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
Allow tuning of PHP8 JIT settings (opcache.jit options in php.ini) #197
Comments
Thanks @NathanAdhitya
These are both hardcode enabled in SlickStack by default in the https://github.com/littlebizzy/slickstack/blob/master/modules/php-fpm/8.1/php-ini.txt However I'm not sure where this They also mention ...okay actually, I just found this: https://php.watch/versions/8.4/opcache-jit-ini-default-changes
So perhaps these options are "hidden" in PHP 8.1 which is what SlickStack currently uses (the Ubuntu 22.04 default). He goes on to say the following:
|
Unless I made a mistake and forgot to includes those entries in our Ref: https://medium.com/@edouard.courty/make-your-php-8-apps-twice-as-fast-opcache-jit-8d3542276595 Looks very exciting though... |
A bit messy, I guess we needed a new boilerplate for New: https://github.com/littlebizzy/slickstack/blob/master/modules/php-fpm/8.3/opcache-ini.txt Hopefully we can combine more of the For now, JIT should be supported with 2 new options in
As seen above, the buffer size is blank by default (the same as PHP core) which effectively disables JIT. To enable it simply choose a buffer size like Testing and feedback desired, will close this for now, thanks! |
Issue
SlickStack seems to now support PHP8
PHP8 has a new JIT feature, but an option to tweak was not found in ss-config.
https://php.watch/versions/8.0/JIT
The text was updated successfully, but these errors were encountered: