Start XAMPP At Start Up On Linux

Last modified: 
Tuesday, April 21st, 2015


How to start XAMPP at boot up.


Add /opt/lampp/lampp start to /etc/rc.local as follows.

#!/bin/sh -e
# rc.local
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
# In order to enable or disable this script just change the execution
# bits.
# By default this script does nothing.

/opt/lampp/lampp start
exit 0

The operator of this site makes no claims, promises, or guarantees of the accuracy, completeness, originality, uniqueness, or even general adequacy of the contents herein and expressly disclaims liability for errors and omissions in the contents of this website.