rss
twitter

Thursday, March 09, 2023

Linux commands to control the LAMPP (XAMPP) services

 

Linux commands to control the LAMPP (XAMPP) services:

  1. To start the LAMPP services, run the following command:

    bash
    sudo /opt/lampp/lampp start

    This command will start all the LAMPP services, including Apache and MySQL.

  2. To stop the LAMPP services, run the following command:

    bash
    sudo /opt/lampp/lampp stop

    This command will stop all the LAMPP services, including Apache and MySQL.

  3. To restart the LAMPP services, run the following command:

    bash
    sudo /opt/lampp/lampp restart

    This command will restart all the LAMPP services, including Apache and MySQL.

  4. To check the status of the LAMPP services, run the following command:

    bash
    sudo /opt/lampp/lampp status

    This command will show the status of all the LAMPP services, including Apache and MySQL.

  5. If you want to start, stop or restart only Apache or MySQL, you can use the following commands:

    bash
    1. sudo /opt/lampp/lampp startapache # Start Apache 2. sudo /opt/lampp/lampp stopapache # Stop Apache 3. sudo /opt/lampp/lampp restartapache # Restart Apache 4. sudo /opt/lampp/lampp startmysql # Start MySQL 5. sudo /opt/lampp/lampp stopmysql # Stop MySQL 6. sudo /opt/lampp/lampp restartmysql # Restart MySQL

    These commands will start, stop or restart only the specified service.

Bookmark and Share

0 comments:

Post a Comment

Tech World

Label Cloud

Must Buy

  © Blogger templates by Ourblogtemplates.com updated with zenplate.com tips

Back to TOP