- This topic is empty.
-
AuthorPosts
-
May 18, 2024 at 4:46 am #24903
Lauren
GuestI have checked php.ini and these options don’t exist anywhere in PHP 8.3
https://php.watch/versions/8.0/JIT
opcache.jit_buffer_size=256M opcache.jit_debug=1 opcache.jit=tracingMay 18, 2024 at 4:50 am #24904Jacob
Guesthttps://medium.com/@edouard.courty/make-your-php-8-apps-twice-as-fast-opcache-jit-8d3542276595
https://stitcher.io/blog/php-8-jit-setup
everybody talking like these options exist but they don’t???
May 18, 2024 at 4:53 am #24905Samantha
GuestI’m guessing it depends on how you installed PHP and your server packages. But it could be in the opcache.ini or other files depending on your configuration.
May 18, 2024 at 5:02 am #24906Hannah
GuestI spun up a DigitalOcean 24.04 droplet.
The settings are in:
/etc/php/8.3/fpm/conf.d/10-opcache.ini; configuration for php opcache module ; priority=10 zend_extension=opcache.so opcache.jit=offThe buffer setting is not there as you can see. But
opcache.jitis there at least.May 18, 2024 at 5:09 am #24907Brian
Guestso, not
/etc/php/8.3/mods-available/opcache.ini???
https://forum.cleavr.io/t/assistance-required-enabling-jit-on-php-8-3/1170
May 18, 2024 at 5:13 am #24908Daniel
GuestWell I think
/etc/php/8.3/fpm/conf.d/10-opcache.iniis just a symlink to:
/etc/php/8.3/mods-available/opcache.iniso it’s the same hardfile in the end, the 2nd path is probably easier.
May 18, 2024 at 6:07 am #24909Stephen
GuestThe symlinks are how Debian/Ubuntu enable the PHP extensions I believe… instead of commenting or uncommenting extensions in
php.inithen the symlinks are placed in theconf.ddirectory and that makes PHP-FPM load them (enabled).If you run:
sudo phpdismod opcachethen it will delete this symlink:
/etc/php/8.3/fpm/conf.d/10-opcache.iniand vice versa if you run:
sudo phpenmod opcacheMay 18, 2024 at 6:09 am #24910Andrew
GuestRelated reading
-
AuthorPosts