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
<?php
   if (!empty($_SERVER['HTTPS']) && ('on' == $_SERVER['HTTPS'])) {
      $uri = 'https://';
   } else {
      $uri = 'http://';
   }
   $uri .= $_SERVER['HTTP_HOST'];
   header('Location: '.$uri.'/xampp/');
   exit;
?>
Something is wrong with the XAMPP installation :-(


I already tried re-installing XAMPP, but it still didn't work. Please help :(
theo999
 
Posts: 1
Joined: 17. March 2013 04:49
XAMPP Version: 5.6.3
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
Altrea
AF Moderator
 
Posts: 6474
Joined: 17. August 2009 13:05
XAMPP Version: 5.5.19
Operating System: W7Ux64


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 4 guests