Error running the composer: JIT compilation failed: no more memory in phar:

1

When I run composer, I receive the following error:

  

Fatal error: Uncaught ErrorException: preg_match_all (): JIT   compilation failed: no more memory in phar:

    
asked by user3194910 12.12.2018 в 16:23
source

1 answer

2

In my case the error was due to my version of PHP 7.3 which has a bug, it was resolved by changing the following value in the php.ini:

vi /usr/local/etc/php/7.3/php.ini Disable the PHP PCRE JIT by changing the following values:

; pcre.jit = 1 to pcre.jit = 0

    
answered by 12.12.2018 в 16:27