Centos error you don't have permission to access on this server

Source: Internet
Author: User

When you configure phpMyAdmin, enter http: // 192.168.8.250/PHPmyAdmin/in the browser/

You also encountered the problem of you don't have permission to access on this server.

I found a lot of information on the Internet, some of which are the cause of SELinux. I can just turn it off,

Later, I re-installed phpMyAdmin and found that sometimes it is not necessarily the cause of SELinux;

Later, I found this article.ArticleDescription:

**************** **********

"

In centos5.3 +MySQL 5.0.45 + Run php In apache2.2.3 + php5.1.6ProgramError

 

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

 

After installing Apache + PHP + MySQL,

An error occurred while copying phpMyAdmin:

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

 

Some people sayJust turn SELinux off.

 

I found the cause and method:

Because of the website execution permission, read from all httpd scripts and the daemon permission is generally required.

 

This permission is not granted to the decompressed folder in the system.

 

Create a directory in HTML/(read from all httpd scripts and the daemon permission will be automatically assigned)

 

Then put the fileCopyOne copy to put in (note not to cut)

 

Run it.

 

I can.

 

Centos5.3 +MySQL 5.0.45 + Apache2.2.3 + php5.1.6 (all included in the System)

Source: http://www.chinaitr.com/dispbbs.asp? Boardid = 65 & id = 630 & move = next

"

**************** **********

I tried the above method and it was OK ^_^

So record it! Thank you for your help!

Related Article

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.