Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Decrease opcache.jit_buffer_size to 128M
As of PHP 8.4, this is the maximum value available for AArch64. Without this change, running Psalm with PHP 8.4 on that architecture results in a warning: ``` Warning: JIT on AArch64 doesn't support opcache.jit_buffer_size above 128M. ``` It's still possible to configure up to 2G for x86_64, so we could keep the 512M value on that architecture at the cost of a bit more complexity to detect the PHP version and current CPU architecture. (Looks like `php_uname('m')` would be the way to check CPU arch.)
- Loading branch information