PHP 升级到 7.3 后,出现 BUG:PHP Fatal error: Uncaught ErrorException: preg_match_all (): JIT compilation failed: no more memory in phar

This is a known PHP 7.3 bug.
As a temporary fix, edit your php.ini file (in my case: vi /usr/local/etc/php/7.3/php.ini), disable PHP PCRE JIT compilation by changing:
;pcre.jit=1
pcre.jit=0
关于 LearnKu
PHP 7.3 问题还挺多的,OPCache、XDebug 之类的引起了一些兼容性问题。
@Wi1dcard 刚看了一下,还真是,XDebug用不了啦。。
哎,PHP7.3还是没搞明白,xdebug用不了。最后不得不把7.3卸载掉,重新安装回7.2,大致步骤如下:
7.3 不是还没JIT吗