PHP 7.3 error

 

Overview

This article explains how to resolve an error that may occur when using PHP 7.3 on your website.

Background

If you choose to run PHP 7.3, the following error may appear on your site:

JIT compilation failed: no more memory errors

This is a bug with PCRE, which you can read more about at php.net:

Fixing the error

To work around this bug, DreamHost automatically adds the following lines to your site's phprc file:

pcre.jit = 0

This setting accommodates the majority of PHP websites. However, if you need to enable this specifically, you can adjust the setting to 1 in your phprc file.

See also

Did this article answer your questions?

Article last updated PST.

Still not finding what you're looking for?