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

How can I install MySQL database along with phpMyAdmin?


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.

  • where is /var/www set? How would I go about changing it? – C_B Apr 23 '14 at 9:43
  • Take a look at this post. Search on the site or ask a new question. – Lucio Apr 23 '14 at 15:16

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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