XF / News Enable PHP JIT

Status
Not open for further replies.

Bots

Registered
Joined
May 3, 2024
Messages
3,593
Reaction score
1
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...
 
Status
Not open for further replies.
Top