sexta-feira, 7 de outubro de 2011

phpMyAdmin no CentOS

O phpMyAdmin do CentOS só permite acesso local.

Liberando o acesso:
vim /etc/httpd/conf.d/phpMyAdmin.conf
E edite da seguinte forma:
<Directory /usr/share/phpMyAdmin/>
   Order Deny,Allow
   #Deny from All
   #Allow from 127.0.0.1
   Allow from All
</Directory>
<Directory /usr/share/phpMyAdmin/scripts/>
   Order Deny,Allow
   #Deny from All
   #Allow from 127.0.0.1
   Allow from All
</Directory>
Reinicie o apache e pronto!