[wp-trac] [WordPress Trac] #57050: Allocation of JIT memory failed …

WordPress Trac noreply at wordpress.org
Wed Nov 9 21:27:52 UTC 2022


#57050: Allocation of JIT memory failed …
----------------------------+----------------------
 Reporter:  petroski        |       Owner:  (none)
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:
Component:  Bootstrap/Load  |     Version:  3.0
 Severity:  normal          |  Resolution:  invalid
 Keywords:                  |     Focuses:
----------------------------+----------------------
Changes (by TimothyBlynJacobs):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 This doesn't look to be something that WordPress needs to be adjusting.
 WordPress is just trying to use a standard regular expression. Instead,
 you need to follow what PHP is recommending you do.

 > “PHP Warning: preg_match(): Allocation of JIT memory failed, PCRE JIT
 will be disabled. This is likely caused by security restrictions. Either
 grant PHP permission to allocate executable memory, or set pcre.jit=0 in
 /var/www/vhosts/xxxxxxxxx.ca/httpdocs/wp-includes/load.php on line 43”

 You need to set `pcre.jit=0` in your `php.ini` file to tell PHP not to
 attempt to use JIT for regular expressions.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57050#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list