You are here: Re: newbie: include_path error « PHP Programming Language « IT news, forums, messages
Re: newbie: include_path error

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
==================

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация