Forbidden :You don't have permission to access /phpmyadmin on this server

Intall Php
sudo yum install php
then restart httpd :
sudo systemctl restart httpd
Edit config file
gedit /etc/httpd/conf.d/phpMyAdmin.conf
Find line that read follows

Require ip 127.0.0.1
Replace with your workstation IP address:

replace yours with following:
<Directory /usr/share/phpMyAdmin/>
   AddDefaultCharset UTF-8
   <IfModule mod_authz_core.c>
     # Apache 2.4
   </IfModule>
   <IfModule !mod_authz_core.c>
     # Apache 2.2
   </IfModule>
</Directory>
Restart Apache:
service httpd restart
start phpmyadmin service 
service httpd start

Post a Comment

0 Comments