Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

Lampp commands line reference with example

List of all command with options for /opt/lampp/lampp


sudo /opt/lampp/lampp start            # Start XAMPP (Apache, MySQL, and any other services included)
sudo /opt/lampp/lampp stop             # Stop XAMPP
sudo /opt/lampp/lampp restart          # Restart XAMPP
sudo /opt/lampp/lampp startapache      # Start only the Apache service
sudo /opt/lampp/lampp stopapache       # Stop the Apache service
sudo /opt/lampp/lampp startmysql       # Start only the MySQL/MariaDB service
sudo /opt/lampp/lampp stopmysql        # Stop the MySQL/MariaDB service
sudo /opt/lampp/lampp startftp         # Start the ProFTPD service
sudo /opt/lampp/lampp stopftp          # Stop the ProFTPD service
sudo /opt/lampp/lampp security         # Run a simple security check script
sudo /opt/lampp/lampp enablessl        # Enable SSL support for Apache
sudo /opt/lampp/lampp disablessl       # Disable SSL support for Apache
sudo /opt/lampp/lampp backup           # Create a simple backup of your XAMPP configuration, data, and logs
sudo /opt/lampp/lampp status           # Show status of XAMPP services
sudo /opt/lampp/lampp reload           # Reload XAMPP (Apache and MySQL reload configuration without stopping the server)
sudo /opt/lampp/lampp reloadapache     # Reload only the Apache service
sudo /opt/lampp/lampp reloadmysql      # Reload only the MySQL/MariaDB service
sudo /opt/lampp/lampp reloadftp        # Reload the ProFTPD service
sudo /opt/lampp/lampp enablephpmyadmin # Enable phpMyAdmin access from network (modify permissions)
sudo /opt/lampp/lampp disablephpmyadmin# Disable phpMyAdmin access from network
sudo /opt/lampp/lampp phpstatus        # Show PHP status (e.g., for checking PHP-FPM status)
sudo /opt/lampp/lampp clean            # Clean XAMPP (clears temporary files and logs)

Rajesh Kumar
Follow me
Latest posts by Rajesh Kumar (see all)
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x