View previous topic :: View next topic |
Author |
Message |
aab1016 n00b
Joined: 01 Feb 2004 Posts: 66
|
Posted: Tue Feb 17, 2004 8:03 pm Post subject: PHP |
|
|
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 |
|
|
pablo_supertux Advocate
Joined: 25 Jan 2004 Posts: 2937 Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)
|
Posted: Tue Feb 17, 2004 8:50 pm Post subject: |
|
|
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 |
|
|
Gentoosiastix Guru
Joined: 10 Oct 2003 Posts: 510 Location: Palencia-España
|
Posted: Tue Feb 17, 2004 10:00 pm Post subject: |
|
|
lo siento no he podido remediarlo...
muy buena la firma pablo..
"con los ordenadores podemos resolver problemas... que sin ellos no tendriamos" _________________ Siempre seremos novatos en algo |
|
Back to top |
|
|
pablo_supertux Advocate
Joined: 25 Jan 2004 Posts: 2937 Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)
|
Posted: Tue Feb 17, 2004 10:52 pm Post subject: |
|
|
Gentoosiastix wrote: | lo siento no he podido remediarlo...
muy buena la firma pablo..
"con los ordenadores podemos resolver problemas... que sin ellos no tendriamos" |
_________________ A! Elbereth Gilthoniel!
silivren penna míriel
o menel aglar elenath,
Gilthoniel, A! Elbereth! |
|
Back to top |
|
|
|