View previous topic :: View next topic |
Author |
Message |
SyntheticDNA n00b
Joined: 07 Nov 2002 Posts: 29 Location: Alaska
|
Posted: Thu May 13, 2004 9:23 pm Post subject: phpMyAdmin error in grab_globals.lib.php |
|
|
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 |
|
|
lyophus n00b
Joined: 28 Apr 2004 Posts: 6
|
Posted: Fri May 14, 2004 11:00 pm Post subject: |
|
|
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 |
|
|
Immortal Q Apprentice
Joined: 14 Sep 2003 Posts: 241 Location: Silicone Valley
|
Posted: Sat May 15, 2004 1:17 am Post subject: |
|
|
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 |
|
|
|