Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
A simple mod_php question
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
wingnut691983
n00b
n00b


Joined: 30 Jun 2005
Posts: 24
Location: Somewhere

PostPosted: Tue Jul 12, 2005 12:28 pm    Post subject: A simple mod_php question Reply with quote

Hi everyone,

I have a simple question about mod_php and getting it working. I emerged it yesterday and checked config files and everything is cool, restarted apache without a problem and apache is working, however when i go to a php file it says forbidden and that it does not have permission to view test.php (the file im trying to view in a browser). Im sure this is an easy one for you experienced people but I am not sure what to do. I figure some user or group needs some permissions they dont have but im not sure which user or group.

Many Thanks in advance
/Wing
Back to top
View user's profile Send private message
bin-doph
Guru
Guru


Joined: 23 May 2003
Posts: 302

PostPosted: Tue Jul 12, 2005 12:37 pm    Post subject: Reply with quote

The user running apache (check your apache.conf/httpd.conf or equal) needs to have the right to read the file you want to serve. Check your error_log, that should tell you the whole path and update your permissions.

cheers
-fe
_________________
perl -e '$_=q;4a75737420616e6f74686572205065726c204861636b65720as;;for(s;s;s;s;s;s;s;s;s;s;s;s){s;(..)s?;qq qprint chr 0x$1 and \161 ssq;excess;}'
Back to top
View user's profile Send private message
wingnut691983
n00b
n00b


Joined: 30 Jun 2005
Posts: 24
Location: Somewhere

PostPosted: Tue Jul 12, 2005 12:44 pm    Post subject: Reply with quote

The user 'apache' is the one that is running Apache2.

where is the error_log that you are referring to? I cant seem to find it.

Thanks :)
Back to top
View user's profile Send private message
wingnut691983
n00b
n00b


Joined: 30 Jun 2005
Posts: 24
Location: Somewhere

PostPosted: Thu Jul 14, 2005 12:24 pm    Post subject: Reply with quote

Is it possible for anyone to explain further on this? I would very much appreciate it!

Thanks alot!:wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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