Since I upgraded my Mac to Mojave 10.14, I noticed PHP is incredibly slow.
When I do this from the terminal:
It takes about 4-5 seconds before showing the version number, which is:
PHP 7.1.13 (cli) (built: Feb 1 2018 13:38:42) ( NTS )
Is there a way to fix this? And, perhaps upgrade to the latest PHP (currently 7.2) while I'm at it?