Join GitHub today
preg_match(): JIT compilation failed: no more memory #7836
When I run this command:
I get the following output:
I have PHP 7.3 and Composer 1.8
I have the same problem on my Mac. Here are my versions:
I'll try upgrading my Mac later to see if everything is better afterwards.
I solved this by disabling the PCRE jit compilation.
On Sat, 29 Jun 2019 at 06:53, Alexey Kopytko ***@***.***> wrote: Verify that you really have it set: $ php -i | grep pcre.jit pcre.jit => 0 => 0 — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#7836?email_source=notifications&email_token=AL377EDEXCARAYDHMTITN23P43MEHA5CNFSM4GKJ3BLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY3QV5Y#issuecomment-506923767>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AL377EHVUUIEWBDIZQ2S3QDP43MEHANCNFSM4GKJ3BLA> .
-- IT Enthusiast
And more to this, you might wanna do it for all versions. For my case, I set them both for php5 which i think was the default that came with my OS,
and look for
which is for php5.