Allocation of JIT memory failed

Error Log for is showing multiple PHP errors.

“Allocation of JIT memory failed, PCRE JIT will be disabled”

PHP tries to get executable memory for the PCRE JIT and is blocked by Dreamhost’s configuration. PHP then displays this message, falls back to non-JIT PCRE, and continues processing with the JIT disabled. That’s why this message only appears sometimes and pages otherwise appear normal.

The fix is to add the following line to php.ini


For Dreamhost shared hosting accounts add that line to the file


Note: A php.ini file is a simple text file that allows you to adjust your PHP settings. As of PHP 5.3, DreamHost uses a “phprc” file instead. This acts the same way – only the name is different.

Taken from: