Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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?

share|improve this question
    
I have php on windows xp so i don't care if i works or not on mint, i just want mysql to work coz i need it a lot –  Someone Like You Feb 12 '12 at 11:15
1  
issue solved, thank you –  Someone Like You Feb 12 '12 at 21:34
    
Someone: Could you tell what solved the issue? –  Stéphane Gimenez Feb 13 '12 at 9:02
    
@StéphaneGimenez first you have to uninstall php, mysql and apache.... then go to synaptic package manager and click "complete remove" for any package related to apache mysql and php coz they will never be uninstalled completely from the terminal. u can do sudo apt-get autoremove.. and then reinstall xampp and see if it works. u can also follow this howtoforge.com/ubuntu_lamp_for_newbies –  Someone Like You Feb 13 '12 at 9:45
    
@StéphaneGimenez I actually didn't install xampp again, i installed only php mysql apache (lamp) if you are going to install xampp you'll be installing php mysql apache proftpd phpmyadmin and i think filezilla server...i don't need those stuff and i use sqlbudddy instead of phpmyadmin –  Someone Like You Feb 13 '12 at 9:48

1 Answer 1

up vote 1 down vote accepted

Here's the answer, found by the asker :

  1. You have to uninstall php, mysql and apache from the linux distribution
  2. Go to synaptic package manager and click "complete remove" for any package related to apache mysql and php
  3. You can also issue a sudo apt-get autoremove
  4. Then reinstall xampp and see if it works.

See this tutorial for detailed steps

share|improve this answer

Your Answer

 
discard

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.