Forbidden you don’t have permission to access / php

I have sầu installed wordpress on a CentOS 6.6 server, everything works fine, WP.., mysql etc but I cannot access the http://MY_IP/phpmyadmin page to import DB as I get:

You don"t have permission to access /phpmyadmin on this hệ thống.I checked the log in :

/var/log/httpd/error_logAnd found :

client denied by hệ thống configuration: /usr/share/phpMyAdminThe hệ thống IPhường is and I tried khổng lồ access from another machine with IP.. Tried to lớn access from the server itself but doesnt work either.

Bạn đang xem: Forbidden you don’t have permission to access / php

Any idea how can I fix this ? Thanks!

phpmyadmin centos-6.6
Improve this question
edited Jul 23 "15 at 11:51

22.1k55 gold badges5353 silver badges101101 bronze badges
asked Jul 23 "15 at 11:34

13911 gold badge11 silver badge88 bronze badges
Add a bình luận |

1 Answer 1

Active sầu Oldest Votes
I have sầu found the solution:

I edited the tệp tin /etc/httpd/conf.d/phpMyAdmin.conf like the following :

AddDefaultCharphối UTF-8 # Apabít 2.4 Require ip Require ip ::1 # Apabít 2.2 Order Deny,Allow# Deny from All Allow from Allow from ::1Basically I commented out : "Deny from All", httpd restarted và it works!

Improve sầu this answer
answered Jul 23 "15 at 11:44

13911 gold badge11 silver badge88 bronze badges
Add a bình luận |

Your Answer

Thanks for contributing an answer lớn Super User!

Please be sure to answer the question. Provide details and tóm tắt your research!

But avoid

Asking for help, clarification, or responding khổng lồ other answers.Making statements based on opinion; baông xã them up with references or personal experience.

Xem thêm: Tìm Hiểu Về Mô Hình 3 Lớp Là Gì, Kiến Trúc Lập Trình 3 Tầng Và 3 Lớp

To learn more, see our tips on writing great answers.

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Facebook
Sign up using Thư điện tử & Password

Post as a guest

Email Required, but never shown

Post as a guest


Required, but never shown

Post Your Answer Discard

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy & cookie policy

Not the answer you're looking for? Browse other questions tagged phpmyadmin centos-6.6 or ask your own question.

The Overflow Blog
Featured on Meta
Cannot access PHPMyAdmin after installing Django
How bởi vì I access phpmyadmin?
Unknown SQL VPS host error in phpMyAdmin after switching php versions in WAMP
Unable khổng lồ access phpMyAdmin on a LAMPhường cài đặt on an Azure VPS
Access phpMyAdmin control panel from external ip
I cant access my trang web that I hosted in home page “Apache24” from mạng internet
Cannot log in to the MySQL server _After data dir changed _cent os 7
Hot Network Questions more hot questions

Question feed
Subscribe khổng lồ RSS
Question feed To subscribe to lớn this RSS feed, copy and paste this URL into lớn your RSS reader.


Super User
Stack Exchange Network
site design / biểu tượng logo © 2021 Stachồng Exchange Inc; user contributions licensed under cc by-sa. rev2021.7.23.39827

Super User works best with JavaScript enabled

Your privacy

By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and discchiến bại information in accordance with our Cookie Policy.

Chuyên mục: Domain Hosting