Install XAMPP in mac
When trying to install XAMPP in mac with a M1 chip. Apache server cann’t start. Solution are as follows:
- check the port occupation.
sudo lsof -i -n
- stop the build in Apache server in mac
sudo apachectl stop
- restart XAMPP and run the Apache server, it will works