Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I installed php5 from the Software-Center and it came along with Apache2.

  1. Where is the localhost root folder where I can put up my files

  2. How can I install mysql database along with phpMyAdmin after this?

share|improve this question
add comment

2 Answers

up vote 8 down vote accepted
  1. The default folder of your host after install apache is in /var/www you should see an index.html file by default that you see the first time in
  2. To install phpMyAdmin open the terminal (Ctrl+Alt+T) and enter this command: sudo apt-get install phpmyadmin

To run phpMyAdmin open your browser and, in the URL bar put this: http://localhost/phpmyadmin

Do no forget to restart Apache.

share|improve this answer
add comment

phpmyadmin install command :

sudo apt-get install phpmyadmin

You need to creat a symbolic link into your /var/www for starting phpmyadmin when you type : http://localhost/phpmyadmin

ln -s /etc/phpmyadmin /var/www/phpmyadmin
share|improve this answer
add comment

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.