0

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

Lynob
  • 241
  • 1
  • 9
  • 17
  • 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 –  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 –  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` –  Feb 12 '12 at 12:20
  • what about `localhost/xampp/index.php`? – xdazz Feb 12 '12 at 12:22
  • @xdazz `localhost/xampp/index.php` displays `404 error` –  Feb 12 '12 at 12:32

1 Answers1

1

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

Pablo Santa Cruz
  • 1,144
  • 4
  • 18
  • 25
  • from the software manager? I tried that but can't access www/var so i uninstalled them and installed xampp –  Feb 12 '12 at 12:14