phpMyAdmin + CentOS 6.0 - Forbidden

后端 未结 4 1102
温柔的废话
温柔的废话 2021-02-12 10:29

I always get this message when I would like access my phpMyAdmin.

w3m localhost/phpmyadmin

Forbidden

You don\'t have permission to access /phpmyadmin/ on this          


        
4条回答
  •  悲哀的现实
    2021-02-12 10:59

    I tried all answers provided here: editing phpMyAdmin.conf, changing selinux context for phpmyadmin folder, disabling selinux... but I still got a 'Forbidden' from the web server.

    I finally found what I was missing in Edouard Thiel post here :

    $ yum install php

    then restart httpd :

    $ service httpd restart => for centos 6 hots

    $ systemctl restart httpd => for centos 7 hosts

    What has me amazed is why php is not installed as dependency for phpmyadmin in the first place.

    Regards, Fred

提交回复
热议问题