Transferred from: http://blog.sina.com.cn/s/blog_aef7fdf80101go3z.html
Install the new CentOS 6.3 today to test, after configuring the server after the installation is complete phpMyAdmin cannot access always 403 error:
Question One,
Describe:
When you are finished configuring, access
You don ' t has permission to access/phpmyadmin/on Thisserver
Reason:
It's the new nature of SELinux. I set the directory or file to the user_home_t type, so the Apache process has no permissions and cannot be accessed. The SELinux targetpolicy used by the Apache process specifies that the Apache process can only access directories or files of type httpd_sys_content_t.
Workaround:
# chcon-r-T Httpd_sys_content_t/var/www/html/phpmyadmin
Question Two,
Describe:
Phymyadmin always show on page: Unable to load mcrypt extension
Workaround:
# yum Install Php-mcrypt
CentOS 6.3 Installation phpMyAdmin Error Resolution!