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

link|improve this question
1  
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 at 12:11
Did you access the index.php ? The apache default page is index.html. – xdazz Feb 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 at 12:13
What is in your address bar? – xdazz Feb 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 at 12:20
show 2 more comments
feedback

migrated from stackoverflow.com Feb 12 at 16:10

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

1 Answer

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...

link|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 at 12:14
feedback

Your Answer

 
or
required, but never shown

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