CentOS 6.3 Installation phpMyAdmin Error Resolution!

Source: Internet
Author: User
Tags mcrypt

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!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.