Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

problems with lampp


webspider's Avatar
Member
0 0

I wanted to learn PHP and MySql, so I have installed lampp from http://www.apachefriends.org/de/xampp-linux.html (german). I've installed it successfully, but I've problems starting the apache webserver. When I call directly lampp start, then it displays the message

XAMPP has to be started as root !

But when I start it after using su, there is written the error message:

bash: lampp: command not found

Could you give me some advice how to solve this problem ?

webspider


ghost's Avatar
0 0

Why are you entering the command lampp isn't it xampp


webspider's Avatar
Member
0 0

When I list all files in the folder the output is:

webspider@Box:/opt/lampp$ ls
backup   error   icons  libexec   modules         RELEASENOTES  tmp
bin      etc     lampp  licenses  phpmyadmin      sbin          var
cgi-bin  htdocs  lib    logs      phpsqliteadmin  share

Lampp also stands for: Linux Apache Perl PHP. The X in Xampp stands for all possible OS.

webspider


ghost's Avatar
0 0

I've had this problem, I think all you need to do is type markupsudo [command] instead of su. or if that isn't working, you could run the apache server manually. for me it's in /etc/init.d/apache2 and you need to give it the argument "start" (or "stop"), as root of course.


ghost's Avatar
0 0

dont type "lampp" type "./lampp" then itl work unless its a directory


webspider's Avatar
Member
0 0

Thanks a lot. I'll try out the last two posts.

webspider


webspider's Avatar
Member
0 0

Now I've made the server run. Thank you all !

webspider