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-
Navigation:
[Reply to this message]
|