A simple script to start and stop a local XAMPP server running on Linux. The directory for the server should be /opt/lampp.
To install, simply move xampp.sh to a directory of your choice and run using ./xampp.sh or put it inside of /usr/local/bin for it to become available to all directories.
./xampp.sh {start | stop | restart}
A Google Chrome window will open at localhost after using ./xampp.sh start.
Koenn Becker - 2019