1

I need to begin learning php and the laravel framework for my new job. However, I am stumped on how to properly install laravel using composer. When I try to install laravel using composer, I get this error:

[ErrorException]
preg_match(): JIT compilation failed: no more memory

PHP Warning: preg_match_all(): JIT compilation failed: no more memory in phar:///usr/local/bin/composer/vendor/symfony/console/Formatter/OutputFormatter.php on line 199

As well as a few other errors on different lines. Can someone please help?

Thank you! Jake

Jake
  • 11

1 Answers1

1

I suggest set in php.ini pcre.jit = 0.
You may read more here Bug #77260 preg_match_all(): JIT compilation failed: no more memory

kanenas
  • 111