Home LearnHow to install phpmyadmin on a Kali Linux machine by just using simple steps 2021

How to install phpmyadmin on a Kali Linux machine by just using simple steps 2021

by Thando Gama
How to install phpmyadmin on a Kali Linux machine by just using simple steps 2021
Spread the love

How to install phpmyadmin on a Kali Linux machine by just using simple steps 2021

https://www.youtube.com/watch?v=96FCrNtUbxE

Step 1 : Download phpmyadmin from https://www.phpmyadmin.net/

Step 2 : Extract that file
Step 3 : cd Downloads in your terminal
step 4 : move that file by using mv phpMyAdmin-5.0.4-all-languages/ usrshare/phpmyadmin
Step 5 : chown -R www.data:wwwdata /usr/share/phpmyadmin
Step 6 : chmod -R 755 /usr/share/phpmyadmin
Step 7 : create a new apache2 configuration file for phpmyadmin the file name is called phpmyadmin.conf
if you are using kali or Ubunt the file location is /etc/apache2/conf-availablethen copy and paste this in side that file and save

Here is phpmyadmin.conf file content

<Directory “/usr/share/phpmyadmin”>
Order Deny,Allow
Deny from all
All from localhost 
Allow from 127.0.0.1 
Allow from 192.168.1.0/24 
</Directory>
Alias /phpmyadmin /usr/share/phpmyadmin
Alias /phpMyAdmin /usr/share/phpmyadmin

Related Articles

Leave a Comment