PHP7.3出现如下错误:PHP Warning: preg_match(): JIT compilation failed: no more memory in ...

解决方案:

修改 /usr/local/etc/php/7.3/php.ini:

将
;pcre.jit=1
改为:
pcre.jit=0

保存,重启php,问题解决。

ps:据说这是php7.3的一个bug。

 

参考:https://stackoverflow.com/questions/53690624/errors-installing-composer-on-macos-jit-compilation-failed

相关文章:

  • 2021-08-30
  • 2022-12-23
  • 2022-12-23
  • 2021-08-09
  • 2022-12-23
  • 2021-06-07
  • 2022-12-23
  • 2021-10-27
猜你喜欢
  • 2022-12-23
  • 2021-06-12
  • 2022-12-23
  • 2022-12-23
  • 2021-08-22
  • 2021-12-15
  • 2022-12-23
相关资源
相似解决方案