Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to install PHP MySQL on Mint 12. I downloaded and installed XAMPP. According to the tutorial, when I go to localhost in a browser I should see this:

Instead, I see:

It works!
This is the default web page for this server.
The web server software is running but no content has been added, yet.

I realize this is the Apache success page, but why am I seeing it instead of the XAMPP page? How do I fix it? Where should PHP source files be stored on Mint?

EDIT PLEASE read this

share|improve this question

migrated from Feb 12 '12 at 16:10

This question came from our site for professional and enthusiast programmers.

I have xampp installed on xp, i'll be happy if you at least help me get mysql working! and i don't really care about phpmyadmin, i can use sqlbuddy – Someone Like You Feb 12 '12 at 12:11
Did you access the index.php ? The apache default page is index.html. – xdazz Feb 12 '12 at 12:12
@xdazz from where? i don't really know where the files are located, i'm new to mint – Someone Like You Feb 12 '12 at 12:13
What is in your address bar? – xdazz Feb 12 '12 at 12:15
@xdazz localhost and localhost/index.html display it works and localhost/index.php displays file not found, 404 error – Someone Like You Feb 12 '12 at 12:20
up vote 1 down vote accepted

Instead of directly downloading and installing XAMPP, I would suggest you to use Mint/Ubuntu's built in repositories to install: MySQL, Apache, PHP...

share|improve this answer
from the software manager? I tried that but can't access www/var so i uninstalled them and installed xampp – Someone Like You Feb 12 '12 at 12:14

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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