

I saw the above address after brew install php 7.2, so I wasted some time back and forth in step 6 above! Because I failed in step 6! Start apache through the following command $ sudo launchctl unload /System/Library/LaunchDaemons/ 2>/dev/nullĬheck apache installation through the following command and the output should be /usr/local/bin/apachectl MacOS comes with pre-installed apache, following are the commands to stop it and prevent from autostart on boot: Here's another copy of the final solution See this issue at for details and discussion PHP within apache will most certainly not work anymore if you proceed! There are serious issues with it, due to the original apache not loadingįoreign libraries anymore.

The original text is as follows Detected macOS Mojave 10.14. 20190718 was supposed to do a php verification code, and it turned out that there were no pictures on my macbook, but it was OK on windows! _ Judging that the problem lies in the environment! macOS Mojave 10.14.5Īfter a lot of tossing and turning, the final result is: re-installed apache, re-installed php7.2, because after Apple 10.14, built-in apache, no longer load those third-party component libraries!
