Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PHP
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Spanish
View previous topic :: View next topic  
Author Message
aab1016
n00b
n00b


Joined: 01 Feb 2004
Posts: 66

PostPosted: Tue Feb 17, 2004 8:03 pm    Post subject: PHP Reply with quote

Quiero saber porque me sale el siguiente error cuando quiero ver la pagina de mi web server,,, fue a partir de que reemplaze el archivo index.php:


Warning: Unknown(/var/www/localhost/monitoreo/index.php): failed to open stream: Permission denied in Unknown on line 0

Warning: (null)(): Failed opening '/var/www/localhost/monitoreo/index.php' for inclusion (include_path='.:/usr/lib/php') in Unknown on line 0
Back to top
View user's profile Send private message
pablo_supertux
Advocate
Advocate


Joined: 25 Jan 2004
Posts: 2937
Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)

PostPosted: Tue Feb 17, 2004 8:50 pm    Post subject: Reply with quote

Existe el archico realmente? Que dereches tiene el archivo? Cuando el usuario ve tu página web, el usuario que ejecuta el php es nobody del grupo nobody. ( nobody:nobody )

Si los derechos de lectura del archivo /var/www/localhost/monitoreo/index.php no permite que el tercer grupo lea el archivo, aparece el error. Es decir, el archivo debe tener lso drechos -rw-r--r--. nobody debe además tener permiso de acceso a todos los directorios del tercer grupo, es decir que /var, /var/www, etc. deben tener los derechos drwx--x--x.
_________________
A! Elbereth Gilthoniel!
silivren penna míriel
o menel aglar elenath,
Gilthoniel, A! Elbereth!
Back to top
View user's profile Send private message
Gentoosiastix
Guru
Guru


Joined: 10 Oct 2003
Posts: 510
Location: Palencia-España

PostPosted: Tue Feb 17, 2004 10:00 pm    Post subject: Reply with quote

lo siento no he podido remediarlo...
muy buena la firma pablo..
"con los ordenadores podemos resolver problemas... que sin ellos no tendriamos" :lol: :lol: :lol:
_________________
Siempre seremos novatos en algo
Back to top
View user's profile Send private message
pablo_supertux
Advocate
Advocate


Joined: 25 Jan 2004
Posts: 2937
Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)

PostPosted: Tue Feb 17, 2004 10:52 pm    Post subject: Reply with quote

Gentoosiastix wrote:
lo siento no he podido remediarlo...
muy buena la firma pablo..
"con los ordenadores podemos resolver problemas... que sin ellos no tendriamos" :lol: :lol: :lol:


:D :D :D :D :D
_________________
A! Elbereth Gilthoniel!
silivren penna míriel
o menel aglar elenath,
Gilthoniel, A! Elbereth!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Spanish 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