Raspberry Pi Phpmyadmin installation

Published: 29 September 2021
on channel: dagnolof
59
3

sudo apt-get update
sudo apt full-upgrade

sudo apt install phpmyadmin

Include phpadmin in apache2.conf file
sudo nano /etc/apache2/apache2.conf
#Include phpmyadmin
include /etc/phpmyadmin/apache.conf

Check that phpmyadmin is working
Open internet prowser and type in folowing URL Ip-address Raspberry-Pi/phpmyadmin
You should get the PHPMyadmin login screen, enter Userid/password to enter

Display-all Option to display all entrys in a database,resulted always in warnings,
I found this post, on how to upgrade to the latest version of phpmyadmin,
After this upgrade the warning errors where gone

https://devanswers.co/manually-upgrad...
See this post on how to upgrade to the latest version of PhpMyadmin
(Implemented on Rb-Pi4-Living)

sudo mv /usr/share/phpmyadmin/ /usr/share/phpmyadmin.bak
sudo mkdir /usr/share/phpmyadmin/
cd /usr/share/phpmyadmin/ (Laatste / niet vergeten)
sudo wget https://files.phpmyadmin.net/phpMyAdm...
sudo tar xzf phpMyAdmin-4.9.1-all-languages.tar.gz
Ls
sudo mv phpMyAdmin-4.9.1-all-languages/* /usr/share/phpmyadmin

5-Jun-2021
sudo wget https://files.phpmyadmin.net/phpMyAdm...
sudo tar xzf phpMyAdmin-5.1.1-all-languages.tar.gz
sudo mv phpMyAdmin-5.1.1-all-languages/* /usr/share/phpmyadmin

Configuration file needs a secret passphrase and 'Temdir' is not accessible errors
Copy/paste instructions
sudo nano /usr/share/phpmyadmin/libraries/vendor_config.php
define('TEMP_DIR', '/var/lib/phpmyadmin/tmp/');
define('CONFIG_DIR', '/etc/phpmyadmin/');


Cleanup
sudo rm /usr/share/phpmyadmin/phpMyAdmin-4.9.1-all-languages.tar.gz
sudo rm -rf /usr/share/phpmyadmin/phpMyAdmin-4.9.1-all-languages
sudo rm -rf /usr/share/phpmyadmin.bak

6-Jun-2021
sudo rm /usr/share/phpmyadmin/phpMyAdmin-5.1.1-all-languages.tar.gz
sudo rm -rf /usr/share/phpmyadmin/phpMyAdmin-5.1.1-all-languages
sudo rm -rf /usr/share/phpmyadmin.bak


DONE


On this page of the site you can watch the video online Raspberry Pi Phpmyadmin installation with a duration of hours minute second in good quality, which was uploaded by the user dagnolof 29 September 2021, share the link with friends and acquaintances, this video has already been watched 59 times on youtube and it was liked by 3 viewers. Enjoy your viewing!