Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
phpMyAdmin error in grab_globals.lib.php
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
SyntheticDNA
n00b
n00b


Joined: 07 Nov 2002
Posts: 29
Location: Alaska

PostPosted: Thu May 13, 2004 9:23 pm    Post subject: phpMyAdmin error in grab_globals.lib.php Reply with quote

Hello!

Whenever I try to launch phpmyadmin, I get this error:

Code:

Warning: main(./libraries/grab_globals.lib.php): failed to open stream: Permission denied in /home/infrastructure/www/localhost/htdocs/phpmyadmin/index.php on line 9

Fatal error: main(): Failed opening required './libraries/grab_globals.lib.php' (include_path='.:') in /home/infrastructure/www/localhost/htdocs/phpmyadmin/index.php on line 9


I tried changing the permissions of grab_globals.lib.php of the file to 777 and it sill does not work.

What else could be wrong?
Thanks!
Back to top
View user's profile Send private message
lyophus
n00b
n00b


Joined: 28 Apr 2004
Posts: 6

PostPosted: Fri May 14, 2004 11:00 pm    Post subject: Reply with quote

Try

Code:

chmod 755 /home/infrastructure/www/localhost/htdocs/phpmyadmin/libraries


to allow Apache to access the directory at all. Quite possibly it only requires execute access, so you could even go for 711.
Back to top
View user's profile Send private message
Immortal Q
Apprentice
Apprentice


Joined: 14 Sep 2003
Posts: 241
Location: Silicone Valley

PostPosted: Sat May 15, 2004 1:17 am    Post subject: Reply with quote

You may want to
Code:

chown -R infrastructure:apache ~infrastrucure/www/localhost/htdocs

And set your chmod values for apache as a specific group, instead of allowing everybody on your box read access to those files. There's a lot of flexibility is the layout of web servers, so everyone does it a little bit differently. (Which is why writing web app ebuilds is a pain!)
_________________
Osmos.org
Now with 20% fewer rabid primates.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum