skip to Main Content

When i try to run xampp server using the command:

lampp start

I get

Starting XAMPP for Linux 7.3.7-1...

You need to be root to perform this action.

Although when i use

sudo lampp start

I get:

sudo: lampp: command not found

I tried with xampp command as well, still same result.

2

Answers


  1. The lampp path could be incorrect, try:

    ./lampp start

    or

    sudo /pathto/lampp start

    Login or Signup to reply.
  2. This will work

     $ sudo /opt/lampp/lampp start
    

    Provided that your installation path is /opt/lampp which is the default path.
    If the installation path is unknown try which lampp and then start from there.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search