Re: Pear

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Mar 1, 2008 at 3:41 PM, <movies@xxxxxxxxxxxxxxxxx> wrote:

> Dear PHP List Experts,
>
> I'm trying to use Pear at my host, Leadhoster.
>
> This line:
>
> require_once('DB.php');
>
> Gets this error:
>
> Warning: main(DB.php): failed to open stream: No such file or directory in
> /home/www/everoriginal.onlinewebshop.net/connect04.php on line 4
>
> Fatal error: main(): Failed opening required 'DB.php'
> (include_path='.:/usr/local/php4/share/pear') in
> /home/www/everoriginal.onlinewebshop.net/connect04.php on line 4


maybe try

find /usr/local/php4/share/pear -name 'DB.php'

to see if you have that component of pear installed.  pear is a component
based system, which means even if you have pear installed, there are tons of
libraries you can use it to install.  if you type

pear info DB

and nothing comes up, then likely you need to install it with

pear install DB

>
also, regarding the archives, i think there are several archives out there,
i always look at marc tho; http://marc.info/?l=php-general

-nathan

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux