New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
preg_match(): JIT compilation failed: no more memory #7836
Comments
In my case, it works by specifying |
Well.. I just upgraded my mac to Mojave and tried again and it's working now.. |
I have the same problem on my Mac. Here are my versions: PHP 7.3.0 Setting I'll try upgrading my Mac later to see if everything is better afterwards. |
I have the same versions for PHP and Composer but I'm using MacOs Mojave 10.14.2 and it's working well. If you think that we should keep this issue opened, I'm OK. |
be carefull with typos ;) should be |
https://externals.io/message/87245 is interesting to read. Not sure if this should be solved on our end or not. |
The errors originate from the |
|
It looks like you set jit=0 in the php.ini of your webserver. Make sure to have it configured in the php.ini used inside the cli. Usually these are 2 different files |
great point @staabm!!! forgot they are different. ran |
|
If https://stackoverflow.com/a/53703630/9142922 I solved this by disabling the PCRE jit compilation.
|
FYI - This also helped to correct (Thanks to @NickWilde1990 for the pointer!)
with
|
Work to me fixing pcre.jit=0 MacOs Sierra using brew hhtpd and php |
guys am still getting the same error i diid add this pcre.jit=0 |
Verify that you really have it set:
|
See: composer/composer#7836 [changelog skip]
See: composer/composer#7836 [changelog skip]
Thanks
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
|
It work for me by follow steps:
|
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, subl /usr/local/etc/php/7.3/php.ini and look for /usr/local/php5/lib/php.ini which is for php5. |
how do i go about setting this up in the terminat |
please help me on how i can change this. Mine is pcre.jit => 1 => 1 |
You have to edit the php.ini file and add.
In XAMPP (Mac OSX), the php.ini file is in the /Applications/XAMPP/xamppfiles/etc folder.
|
if there is a line already exist like |
y después reinician apache para que se aplique el cambio "sudo apachectl restart" |
HoTKreeZy commentedDec 13, 2018
•
edited
When I run this command:
I get the following output:
I have PHP 7.3 and Composer 1.8
The text was updated successfully, but these errors were encountered: