When I run composer, I receive the following error:
Fatal error: Uncaught ErrorException: preg_match_all (): JIT compilation failed: no more memory in phar:
When I run composer, I receive the following error:
Fatal error: Uncaught ErrorException: preg_match_all (): JIT compilation failed: no more memory in phar:
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