Click to See Complete Forum and Search --> : Apparent MisConfig..???


robertg
07-06-2004, 04:20 PM
Hello All!

I am running Apache 2 w/ the latest stable version of PHP4

I am not sure if I have PHP configured correctly. The <?phpinfo?> runs fine, and some scripts at least partially run (I can bring up an authorization prompt).

However, I am this error on many scripts (I have never gotten this one in the past...):
--------------------------------------------------------
Warning: Unknown(/var/www/htdocs/filename.php): failed to open stream: Permission denied in Unknown on line 0

Warning: (null)(): Failed opening '/var/www/htdocs/filename.php' for inclusion (include_path='.:/usr/local/lib/php') in Unknown on line 0

-----------------------------------------------------

Install problem? Script problem?

I have googled to no end....but I can't find a solution...any help would be GREATLY appreciated!


Thanks

Rob

mrhappiness
07-06-2004, 04:52 PM
i guess your apache user does'nt have the right to read this file?

robertg
07-06-2004, 05:03 PM
I changed the user Apache served pages under, then attempted to restart the apache server and this is what I got:


Failed to start apache :
[Tue Jul 06 15:59:07 2004] [warn] module php4_module is already loaded, skipping
[Tue Jul 06 15:59:07 2004] [warn] module php4_module is already loaded, skipping


It should be noted that I was getting this error in the past. How can it be corrected?

Still chugging along

Rob