I dont know if there is (still) a script for OSX; in Linux there is a script called "lampp" (what is linked/points to a script "xampp"), which is stored in the root folder of Xampp (in Linux /opt/lampp, in OSX probably something like /Applications/Xampp or so). The script should be called with root permissions (i.e. via "sudo") and the basic syntax is:
- Code: Select all
sudo ./lampp start
sudo ./lampp stop
sudo ./lampp restart
These commands will start/stop/restart all Xampp tools together. To start only Apache or MySQL or FTP etc., there are these options:
- Code: Select all
sudo ./lampp startapache
sudo ./lampp startmysql
etc.pp.
Help and a full syntax table is available via "help" option:
- Code: Select all
sudo ./lampp help
Maybe you simply have to replace "lampp" by "xampp" or so in order to execute the OSX Xampp script (if there is any). I dont know, but as OSX is very similar to Linux (and as there is also a shell interpreter), i think there should be the same script for OSX as well.