Tuesday, February 10, 2015

How to Install and Configure phpMyAdmin on Ubuntu 14.04

phpMyAdmin is an open source tool used for the administration of MySQL. In addition to offering the capability to perform administration tasks such as creating, editing, or deleting databases, and managing users and permissions

Step 1: Install phpMyAdmin

apt-get -y update                                                                       
apt-get -y install phpmyadmin                                                            

Step 2: Basic Configuration

select apache2 by using the space bar, then hit enter to continue.  
At the second screen, which asks “configure the database for phpmyadmin with dbconfig-common?”, select Yes , then hit enter to continue. 
At the third screen enter your MySQL password, then hit enter to continue. 
And finally at the fourth screen set the password you’ll use to log into phpmyadmin, hit enter to continue, and confirm your password.

Step 3: Finish the Configuration of Apache

vim /etc/apache2/apache2.conf                                                         

# phpMyAdmin Configuration                                                            

Include /etc/phpmyadmin/apache.conf                                                   

Then exit and save the file with the command :wq .
And, restart Apache 2 with the following command:
service apache2 restart                                                               

  update curl                                                                 

I believe that the package php5-curl should do the trick. Use the package manager of your choice and the deps should be taken care of.

sudo apt-get install php5-curl
You will need to restart the server afterwards:

sudo service apache2 restart
Alternatively, if you are using php-fpm, you'll need to restart php5-fpm instead

sudo service php5-fpm restart
Error reporting Strat 

ini_set('display_errors', 1);


                       eNJOY :)  HAPPY coding ... ...                                    


1 comment:

  1. My friend Suggest me this blog and I can say this is the best blog to get the basic knowledge.Thank you so much for this Selenium Training in Chennai


Related Posts Plugin for WordPress, Blogger...