Hello Devz,

Are you looking to control and configure a php server on your Linux or Raspberry Pi machine? Here are simple steps for Raspberry phpmyadmin installation.

sudo apt-get install phpmyadmin

Using the above command line, you will be asked to choose the web server installed in the system, which is either Apache2 or Lighttpd. In this case, you can leave the web server selection field empty.

During phpMyAdmin installation, you will be asked to configure database for phpMyAdmin. Answer “yes”. When asked to enter the password of the administrative user, provide the password.

Next, make a link of phpMyAdmin from /usr/share/phpmyadmin to /var/www/phpmyadmin.

sudo ln -s /usr/share/phpmyadmin /var/www/html/phpmyadmin

Open phpMyAdmin from your browser by going to http://<raspberrypi-ip-address>/phpmyadmin/index.php, and log in as “root” using the administrative password that you have set earlier.

Now,  you need to create a new user in the phpMyAdmin. Click on Users at the top then Add user at the bottom.

Enjoy!  🙂