install phpmyadmin on webmin + think “webmin phpmyadmin doesn’t work”?

If you install phpmyadmin under centos or webmin, bringing up:

http://yourdomain.com/phpmyadmin/
or
http://yourdomain.com/phpMyAdmin/

yields a 403 – Forbidden – you don’t have permissions type error:

Look for the section on ‘allow from’ in the file:

/etc/httpd/conf.d/phpMyAdmin.conf

It should be near the top… it will read:

<Directory /usr/share/phpMyAdmin/>
<IfModule mod_authz_core.c>
# Apache 2.4
Require local
</IfModule>

<IfModule !mod_authz_core.c>
# Apache 2.2
Order Deny,Allow
Deny from All
Allow from 127.0.0.1
Allow from ::1
</IfModule>
</Directory>

Add a couple of extra lines under the Allow from 127.0.0.1 for - one for each IP - yours and the webmaster. Don't know your IP?

Visit: http://ipcheck.aaabusinesshosting.com/

ps - if anyone wants a copy of that ipcheck php script, it's really easy to put together, but email me and I'll send you a copy.