Couldn't open http://localhost

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Couldn't open http://localhost

Postby theo999 » 17. March 2013 04:59

I couldn't open localhost, but when I start xampp, it started normally.
I installed Xampp version 1.8.1 on linux mint 13(maya) - 32 bit

This is the result of me starting /opt/lampp/lampp start:
Code: Select all
/opt/lampp/lampp start
Starting XAMPP for Linux 1.8.1...
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Starting MySQL...
XAMPP: Starting ProFTPD...
XAMPP for Linux started.

but when I open http://localhost, I downloaded some text named "download":
Code: Select all
   if (!empty($_SERVER['HTTPS']) && ('on' == $_SERVER['HTTPS'])) {
      $uri = 'https://';
   } else {
      $uri = 'http://';
   $uri .= $_SERVER['HTTP_HOST'];
   header('Location: '.$uri.'/xampp/');
Something is wrong with the XAMPP installation :-(

I already tried re-installing XAMPP, but it still didn't work. Please help :(
Posts: 1
Joined: 17. March 2013 04:49
Operating System: Linux Mint 13 Maya

Re: Couldn't open http://localhost

Postby Altrea » 17. March 2013 05:02

We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
AF Moderator
Posts: 10196
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 28 guests