point in the right direction?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
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.


Re: point in the right direction?

Kovax wrote:
Quoted text here. Click to load it

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.


Site Timeline