Reply to Re: point in the right direction?

Your name:

Reply:


Posted by David Haynes on 06/23/06 13:24

Kovax wrote:
> I am receiving the following error when I attempt to go to a php
> webpage on my server (Apache installed on RH FC 5).
>
> Warning: main(conf/config.php) [function.main]: failed to open stream:
> Permission denied in /var/www/html/snortcon/index.php on line 3
>
> Fatal error: main() [function.require]: Failed opening required
> 'conf/config.php' (include_path='.:/usr/share/pear') in
> /var/www/html/snortcon/index.php on line 3
>
> Php is working, as I have another directory on the webserver that is
> utilizing php.
>
> I appreciate any direction on this. I just do not even know what this
> means. Obviously, I am fairly new to php.
>
> Kovax
>

This says:
1. on line 3 of /var/www/html/snortcon/index.php there is a require() or
require_once() that is failing.
2. The required file is 'conf/config.php'
3. PHP will look for this file in the following areas:
a) .
b) /usr/share/pear

I think you need to adjust your include_path in php.ini to point to the
area where the conf directory that contains config.php is held.

-david-

[Back to original 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

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