Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have installed Xampp 1.8.3.1 .run file. and when I type

/opt/lampp/lampp start 

then it gives me a message like this

XAMPP: Starting Apache...fail.
XAMPP:  Another web server is already running.
XAMPP: Starting MySQL...ok.
XAMPP: Starting ProFTPD...ok.
share|improve this question
    
sudo: /etc/init.d/apache2: command not found when i am hit the command show like this –  user266243 Apr 7 at 12:08
    
Hi i faced the same issue and have tried mitch's solution to fix it, it works because i get this message on the terminal Starting Appache... Ok But while lampp started... I m not seeing how to use it. I m not seeing any lampp window on my computer –  Consultant SEO Apr 27 at 15:56

3 Answers 3

up vote 1 down vote accepted

You've already got a web server running on port 80. I see three viable choices:

  1. Move XAMPP's version of Apache to a different port
  2. Move whatever httpd is running on port 80 to another port (or remove it)
  3. Just install lamp-server^ (a real production stack) and stop messing around with XAMPP (which is really just a toy for Windows developers)
share|improve this answer
    
I've moved the apache port and work. Thanks :) –  user1920428 Sep 2 '13 at 10:43

Try this:

Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:

sudo /etc/init.d/apache2 stop
sudo /etc/init.d/mysql stop
sudo /etc/init.d/proftpd stop
sudo /opt/lampp/lampp start
share|improve this answer
    
It works flawlessly! –  Rubens Mariuzzo Nov 4 '13 at 17:22
    
command not found. ubuntu 13.10 –  Gowtham Dec 21 '13 at 11:13
    
How did you install Apache? –  Mitch Dec 21 '13 at 11:20

Had the same problem, but these fixes didn't work for me. This post on the same forum solved my issues... I literally tried everything else :) Working great now though.

Cannot start XAMPP on Ubuntu 11.10

Thanks, hope this helps somebody.

share|improve this answer

protected by Community Oct 22 at 13:47

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.