You don't have permission to access /phpmyadmin/ on this server.
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
[Fri Aug 28 00:11:56 2009] [error] [client 10.10.0.2] Directory index forbidden by Options directive: /usr/share/phpmyadmin/
[Fri Aug 28 00:11:59 2009] [error] [client 10.10.0.2] Directory index forbidden by Options directive: /usr/share/phpmyadmin/
[Fri Aug 28 00:15:04 2009] [error] [client 10.10.0.2] Directory index forbidden by Options directive: /usr/share/phpmyadmin/
Last edited by jonaskellens; 08-27-2009 at 05:17 PM.
Apache is not finding an index page (e.g. .html, .php) to serve, so it's trying to display a directory index. But... you've disabled that (which is probably fine because it's not what you're trying to do anyway).
What have you provided for the DirectoryIndex directive in httpd.conf?
I noticed that when I uncompressed the phpMyAdmin archive and moved it to the target location I was getting the permissions error.
I performed a copy (cp) of the uncompressed folder and it worked!
(I downloaded the english only archive)
(Note: I'm running CentOS 5.4 i386)
Steps...
0- After downloading the tar file to /tmp
1- cd /tmp
2- tar -xzvf phpMyAdmin-3.2.4-english.tar.gz
3- cp -Rf phpMyAdmin-3.2.4-english /usr/share/phpmyadmin
4- echo "alias /phpmyadmin /usr/share/phpmyadmin" > /etc/httpd/conf.d/phpmyadmin.conf
4a- You can add <DirectoryIndex ...> ... </DirectoryIndex> to phpmyadmin.conf, but I'm running locally for the moment and didn't need it. The alias command worked just fine.
5- cp /usr/share/phpmyadmin/config.sample.inc.php /usr/share/phpmyadmin/config.inc.php
6- Make the appropriate changes to: config.inc.php
7- service httpd restart or /etc/init.d/httpd restart
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.