Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial



I have tried installing XAMPP/LAMPP on my Ubuntu machine, but index.php says: "Something is wrong with the XAMPP installation :-("

PHPmyadmin and Apache2 are present, as is MySql (pretty sure.) Anyone have experience with this install? I'm running Ubuntu 15.04. Thanks!

4 Answers

Hi Hobie, I've recently installed LAMPP on a Linux Mint system and have previously installed it (Xampp) on Ubuntu and windows. First things first did you install it to root? and have you started it up via Terminal?

I did install it as root using Terminal. I have not tried starting it via Terminal. I didn't see any directions for that online... Will it boot to a GUI?

I guess I didn't understand how to even use the thing. I assumed that going to localhost/ would bring up a file - then the index.php file I find in htdocs says that there was something wrong with the install... ??

Try $ sudo /opt/lampp/lampp start in Terminal to start the server (or wherever your lampp install sits in the directory structure! Hope this helps : - )

Thanks a bunch.

Turns out I'd done that - sometimes I need to stop Apache (/etc/init.d/apache2 stop ) but then when I "start" LAMP, nothing happens... What am I looking for/missing?

Should I see something when I go to localhost/ ? Also, I can't do anything with the index.php file in htdocs - I've tried to edit it and even replace it, but I don't have permissions...

It all looked so easy in the video... ;)