PHPMYADMIN :Forbidden You don't have permission to access /phpmyadmin/


Just a tip based on my experience, as I am testing some VPS from Digital Ocean, setting up LAMP with phpmyadmin. Then when configuring the phpmyadmin U.I. it prompts that you don't have permission to access. To resolve your issue you need to add your Pubic IP address on the config. You need to locate the file phpmyadmin.conf and modify the link below: 

Allow from localhost 127.0.0.1 YourPublicIP
 
Once edited save the file and restart the apache to take effect. You can now test it.

P.S. You can use this tool to check your public IP: 
 
-https://www.whatismyip.com/ 
-https://whatismyipaddress.com/

Comments