1. 程式人生 > >centos用yum安裝phpmyadmin配置

centos用yum安裝phpmyadmin配置

1. 用 yum -y install phpmyadmin

            用此命令直接安裝,已測試OK,採用預設版本安裝,安裝httpd和php都使用預設來安裝,

2.修改/etc/httpd/conf.d/phpMyAdmin.conf 


本檔案是phpMyAdmin的訪問控制檔案,保證遠端訪問。如下修改即可:

<Directory /usr/share/phpMyAdmin/>
   Order Deny,Allow
   #Deny  from All
   Allow from All


</Directory>