These days, I am busying in building up LAMP environment on CentOS 6.5
While installing phpMyAdmin,problems occur.

By convension, I download phpMyAdmin zipped files,and then unzip it to /usr/share/phpMyAdmin.

in the folder /etc/httpd/conf.d, I create a new file named phpmyadmin.conf.
and add the follow content to it.

Alias /phpmyadmin /usr/share/phpMyAdmin

Then,Open my broswer,type the URI:http:127.0.0.1/phpmyadmin

Error message is :

Forbidden

You don't have permission to access /phpMyAdmin on this server.

Apache Server at 127.0.0.1 Port 80

Hi, make Apache able to access /usr/share/phpMyAdmin by assigning the directory to the www-data group (or the one in use by the server):

chgrp www-data -R /usr/share/phpMyAdmin

Then reload the server and it should work fine. Or better, check the security links in the installation process:

...it might also be: chown apache:apache -R /usr/share/phpMyAdmin

If you want, add me on skype: samlew4, and I will help you out with your issues.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.