XenForo Enable PHP JIT

M

Marcus

Guest
Marcus submitted a new resource:

Enable PHP JIT - Enabling JIT makes PHP 8.x run faster

Enabling JIT makes PHP run faster

1 Check whether JIT is running​

Bash:

#php -i | grep -q 'opcache.jit_buffer_size => [^0]' && echo "JIT is enabled" || echo "JIT is disabled"

2 In etc/config.php

PHP:

Code:
ini_set('opcache.enable', '1');
ini_set('opcache.jit_buffer_size', '100M');
ini_set('opcache.jit', '1254');
Click to expand...

Read more about this resource...

Continue reading...