Posted by Jerry Stuckle on 07/22/07 22:30
tim braun wrote:
> dear php gurus,
> i installed apache2 + php5 on a debian 4.0 box. then i created a
> script with the following command:
> <? phpinfo(); ?>
> i placed the script into the /var/www directory and called it
> test.php. if i try to run the script with:
> http://localhost/test.php i get a error message:
>
> Warning: Unknown: failed to open stream: Permission denied in Unknown
> on line 0
> Fatal error: Unknown: Failed opening required '/var/www/
> test.php' (include_path='.:/usr/share/php5') in Unknown on line 0
>
> i installed apache and php without changing any ini oder conf files.
> what am i missing ?
>
> thanx alot
> tim
>
Who's the owner of the test.php file? Does the webserver user have read
access to it?
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|