I think this is related to a bug in php 7.3
The setting you need to change I your php.ini is pcre.jit = Off and make sure you restart valet with valet restart
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
A fresh install of Mac OS and Laravel valet didn't help get rid of the problem. I dug deeper and edited the php.ini files of both PHP 7.2 and 7.3.
edit made on both files was "pecr.jit=1 to pecr.jit=0" still no luck.
Please or to participate in this conversation.