Home >Backend Development >PHP Tutorial >macos - Mac cannot clear the php that comes with the machine, and even installing XAMPP cannot cover it
Which friend has a clever trick? Please tell me! ! !
Which friend has a clever trick? Please tell me! ! !
I have never used MAC. Doesn’t Mac have package management? It should be uninstallable, right? XAMPP's php and XANPP are in the same folder and will not be installed in /bin
. You can try adding an alias in bash or ln php under /bin/
to your XAMPP php.
sudo ~/.bash_profile
export PATH="xampp's php path:$PATH"
source ~/.bash_profile