473,320 Members | 2,189 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

point in the right direction?

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
1 1199
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: MooMaster | last post by:
I'm a complete beginner in Python, but I've been fooling around with Java for a couple years, so I have decent programming experience... Anyway, I was sitting around playing with Python, when I...
1
by: A. Name | last post by:
Can someone please point me in the right direction? This is what I want to accomplish. The page has a simple form for input on it. When a user enters in information and clicks the button, the...
4
by: John Osborne | last post by:
I'm a beginner at this programming thing (C# and VB/VB.Net) but I have been given a task that I don't even knwo how to start to accomplish. I'm not asking anyone to write the code or anything,...
65
by: Skybuck Flying | last post by:
Hi, I needed a method to determine if a point was on a line segment in 2D. So I googled for some help and so far I have evaluated two methods. The first method was only a formula, the second...
3
by: Jheitmuller | last post by:
Hi, I would like to convert a VB.NET application from being a Windows app to an ASP.NET app. I'm new to web development, so this may be a simple question. Is it possible to render simple drawing...
5
by: AManAfterGod | last post by:
OK, I'm fairly new to Java and I wanted to try if I could convert an easy Microsoft Excel problem into Java but I've hit a road block. I was wondering if one of you could point me in the right...
2
by: =?Utf-8?B?cm9kY2hhcg==?= | last post by:
hey all, i have an excel file that contains employee information. inside the workbook there are numerous worksheets - one per employee. is it possible to iterate thru the workbook reading pieces...
3
by: pjmulla | last post by:
I am nes to python and need some help. Can anyone lead me in the right direction to create and print a Point object, and then use id to print the object's unique identifier. Translate the...
6
by: chloejacobs | last post by:
Hi every1! My first post on Bytes :) I want to create a simple web page that will read of CSV file, sort the file by certain fields, take out duplicate entries if 3 fields have the same value...
2
by: Jajjo | last post by:
Hey all, First time posting here and just a simple question to begin with. I'm trying to create an iterator for a vector of POINT objects and for some reason, I'm getting this error: error...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.