Auto start XAMPP on Boot

Allow phpMyAdmin remote access on xampp
Restart Services in Xampp Linux

To auto start XAMPP on boot on Ubuntu, create file

vi /etc/systemd/system/xampp.service

Add following content

[Unit]
Description=XAMPP auto start by ServerOk.in

[Service]
ExecStart=/opt/lampp/lampp start
ExecStop=/opt/lampp/lampp stop
Type=forking

[Install]
WantedBy=multi-user.target

Enable xampp with

systemctl enable xampp

start xampp

systemctl start xampp
Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *