By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,720 Members | 2,153 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,720 IT Pros & Developers. It's quick & easy.

point in the right direction?

P: n/a
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

Jun 23 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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-

Jun 23 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.