PEAR : installed on server, but I do not find packages

pppplus

Verified User
Joined
Dec 19, 2008
Messages
524
Hi,

I try to install and use some PEAR package.
I am on Centos 5.

I install 2 package :
Code:
yum install php-pear-Mail
yum install php-pear-MDB2
Then I want to use them.
But, when I try to include :
Code:
require_once 'MDB2.php';

It does not find this file.
So I want to verify where is the package on my server.

I suppose it would be in /usr/local/lib/php/PEAR/
But there is nothing.

I try : # locate MDB2.php and do not find my package.
When I retry to install this package, I have the message that's it is already done.

Same thing with Mail package.

Do you know where YUM install my package ? Thanks for your help
 
incidently you can also use "whereis pear"

Code:
server:~# whereis pear
pear: /usr/bin/pear /etc/pear
 
Back
Top