Re: Fatal error with 'DB.php'
| From: | Cristian MARIN | Date: | Fri, 04 Jul 2003 17:09:29 +0000 |
| Subject: | Re: Fatal error with 'DB.php' | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-20682@lists.php.net to get a copy of this message | ||
There are two modes to solve this:
- First when you are calling the file give the exact path from the file you
are calling to the DB.php
- second, the 'include_path = ' is a php.ini property so is there you have
to add the path to the DB.php
The php try first to access the DB.php directly assuming the file is in the
same directory, if it can't find him it will search the file into the paths
defined in the include_path property. That's why you see the error that it
can't find the file into the include_path.
Try the first solution.
--
-------------------------------------------------
Cristian MARIN - Developer
InterAKT Online (www.interakt.ro)
Tel: +4021 312.53.12
Tel/Fax: +4021 312.51.91
cristic@interakt.ro
"Jswalter" <jsWalter@torres.ws> wrote in message
news:20030703174526.25111.qmail@pb1.pair.com...
> I am trying to use DB.php, but I am getting htis error...
>
> Fatal error: main(): Failed opening required 'DB.php'
> (include_path='.;c:\php4\pear')
>
> I can't find this path defined *anywhere*
>
> I don't have PHP installed thee.
>
> How can I "fix" this include path issue.
>
> Thanks
>
> Walter
>
>
>