nibb

Well-Known Member
Mar 22, 2008
319
5
68
How do I make a script take the php pear modules?

I have tried installing both on the server side or the client side but installation of egroupware stills says pears are missing.

It seems it doesnt find them. Whats the difference anyway between installing them as a server wide or client wide, and why isnt this working?
 

nibb

Well-Known Member
Mar 22, 2008
319
5
68
I dont know why its not taking.

I tried installing the pears both from WHM or from user account.

The path to the server pears
/usr/local/lib/php

Is already in the php config.

I also now the path to the users pears are
/home/user/php

On the server:
pear list

Shows this pear installed.

So what im doing wrong here?
 

nibb

Well-Known Member
Mar 22, 2008
319
5
68
Are you sure open_basedir, execdir, include_path is not interfering with things?
What errors are you receiving? Can you provide us with an example?
No Im not sure actually.

I finally configured the path in a php.ini inside the domains account but still it doesnt recognize the pears that are installed.

Is the e-groupware installer and when it makes a server check it says there are missing pears packages even when they are installed already in the account.

My conclusion is that its not finding those pears.
 

nibb

Well-Known Member
Mar 22, 2008
319
5
68
There are dozens of php files in the installer. Im not sure where to look, or what is the file that is looking for them.
 

nibb

Well-Known Member
Mar 22, 2008
319
5
68
cPanel support fixed this. Here is the explanation:

It seems that the php.ini was looking for PEAR files installed in /usr/lib/php for this, not in /usr/local/lib/php. So I have those PEAR installed using this commands:

/usr/bin/pear install <module>