'}}

Hello Myftians!

PHP Opcache JIT (Just-In-Time) compiler is a type of compiler that translates code from a high-level programming language, such as PHP, into machine code at runtime, rather than ahead of time. This can provide performance improvements by optimizing the code for the specific hardware it's running on.

How to enable PHP Opcache JIT in MYFT | Cloud?

First of all, your website must meet one requirement. WordPress must be running on at least PHP 8.0 as PHP Opcache JIT is supported from this version. Currently in MYFT | Cloud every new website uses PHP 8.3 by default.

  1. In our control panel hub.myft.cloud go to the website where you want to use PHP Opcache JIT.
  2. Then in the top menu select "Advanced" and then "Developer tools".
  3. In the "PHP engine" submenu, make sure that your website uses at least PHP 8.0.
  4. Go to the "php.ini editor" submenu and add the following variables by clicking on the "Add directive" button.
opcache.jit = function
opcache.jit_buffer_size = 256M

Also make sure that PHP Opcache itself is enabled because without it JIT won't work.

opcache.enable = 1

Below is a picture of what the already set variables should look like.

MYFT | Cloud - WordPress Cloud Hosting & WooCommerce Cloud Hosting

Attention! There are several ways to set the PHP Opcache JIT type, although we recommend the "function" because this type does not cause problems with the operation of plugins and WordPress itself. The "tracing" version can cause plugins and even WordPress to malfunction.

How to check PHP Opcache JIT is enabled and working correctly?

There are several ways, the easiest is probably to install the appropriate plugin for this. Plugin "atec Cache Info" will allow you to check the cache status.

You can download and install the plugin from here or find it in the repository - https://wordpress.org/plugins/atec-cache-info/

MYFT | Cloud - WordPress Cloud Hosting & WooCommerce Cloud Hosting

As you can see in the picture, JIT is Enabled and have green status.

Congratulations. Your website is currently using PHP Opcache JIT.

If you encounter any problems with enabling and setting up PHP Opcache JIT for your WordPress website contact us and we will assist you as soon as possible.

Kindly regards!

Adam Makowski – CEO & Founder MYFT | Cloud

Sign up for newsletter

Want to keep up to date on what’s happening at MYFT? Subscribe to our newsletter and stay tuned for new product releases, updates, events and company news!

We promise zero spam!


Free migration service

Our team of experts will migrate unlimited number of websites for you.

Free optimization service

For free our team of experts will

optimize speed of your websites.


Check out our latest posts

Excellent rated based on 10 reviews | View all reviews

Improve websites right now and enjoy the difference

Level up the performance of your WordPress and WooCommerce services by deploying on a state of the art cloud infrastructure.

Ready to superpower your WordPress website or WooCommerce shop?