Re: PHP
| From: | Justin Patrin | Date: | Mon, 13 Aug 2007 05:56:51 +0000 |
| Subject: | Re: PHP | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-27812@lists.php.net to get a copy of this message | ||
On 8/12/07, racol <racol@racol.com> wrote:
> Dear Sirs,
> I have the PHP version 4.4.7 which includes PEAR. I access it through a Sambar server but
> whenever I try to use a PEAR function e.g. require_once('DB.php'); I get the following
> log error
>
> PHP Fatal error: main() [<a
> href='function.require'>function.require</a>]: Failed opening required
> 'DB.php' (include_path='.;c:\php4\pear') in C:\sambar64\docs\BondMovies.php on
> line 11
>
> I have added the following to my php.ini file but to no avail.
> include_path='.;c:\php4\pear'
>
> Do I have to do something else to make this work?
>
Yes, install the DB package.
pear install DB
See the PEAR manual.
--
Justin Patrin