After installing xampp 1.8.1 , while trying to access the phpmyadmin http://localhost/phpmyadmin , The following error message was displayed in my web browser.
We need to add one more line (Require all granted) in httpd-xampp.conf file of XAMPP server to rectify this error. Just follow the given steps
- Goto terminal and type the command
# sudo vim /opt/lampp/etc/extra/httpd-xampp.conf
- Find the phpmyadmin directory , in my server <Directory “/opt/lampp/phpmyadmin”> , Probably Line number 15
- Add the following line inside the directory block
Require all granted
- Save and restart the server
- Now try http://localhot/phpmyadmin