my include
PHP Code:
'db.inc.php' 
is not being accessed. the apache error log tells me:
"PHP Warning: include(db.inc.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\xxxxxx\\xxxxxx.php on line 11"
I don't understand why it appears to be looking for the include file in the page i'm calling it from rather than the directory holding all my php files.
and:
"PHP Warning: include() [<a href='function.include'>function.include</a>]: Failed opening 'db.inc.php' for inclusion (include_path='.;C:\\php5\\pear') in C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\xxxxxx\\xxxxxx.php on line 11

I reckon it must be a setup problem in my ini file because this never happened before with my previous setup.

Also, why does it refer to pear when i don't think i use that.

thanks in advance, feeling a bit stupid,
Mike