PHP8.2开启opcache jit
打开 opcache配置文件:
nano /etc/php/8.2/fpm/conf.d/10-opcache.ini修改内容为:
; configuration for php opcache module
; priority=10
zend_extension=opcache.so
opcache.jit=1255
opcache.enable=1
opcache.enable_cli=1
opcache.memory_consumption=128
opcache.interned_strings_buffer=8
opcache.jit_buffer_size=128M保存后重启php-fpm:
systemctl restart php8.2-fpm