Having problems with PEAR

opussupport

Verified User
Joined
Sep 19, 2006
Messages
25
I built up a new server to replace an older server and added suphp, php 4 and 5 to this one (the old one just had plain php4 from DA install). Most sites worked fine on the new config, but a couple would not work on either other server that had the suphp config. I undid the steps I followed as far as adding suphp related lines to httpd.conf by commenting them out and resolved the issues with those websites.

but now I have a site that needs to use PEAR which does not seem to work properly and I cannot find why. PEAR appears to be installed and updating fine from command line:

Installed packages, channel pear.php.net:
=========================================
Package Version State
Archive_Tar 1.3.2 stable
Console_Getopt 1.2.2 stable
DB 1.7.11 stable
HTML_Template_IT 1.2.1 stable
HTTP 1.4.0 stable
MDB2 2.4.1 stable
Mail 1.1.14 stable
Net_SMTP 1.2.10 stable
Net_Socket 1.0.8 stable
Net_UserAgent_Detect 2.3.0 stable
PEAR 1.5.4 stable
PEAR_Info 1.6.1 stable
Structures_Graph 1.0.2 stable
XML_Parser 1.2.8 stable
XML_RPC 1.5.1 stable

but the one site that is using it does not seem to be able to access the DB module.

I downloaded a script to use PEAR_Info, but it does not see have of the modules for some reason. Any ideas?
 
I had a similar problem and I think the solution was to recompile php. It didn't make much sense to me but that was the last thing I did to resolve the problem and it worked.
 
Thanks Floyd,

That was going to be my next step if I didn't get any other ideas from this post.

thomas
 
hmm..not sure, why would this just happen for only few sites.

I had a similar issue for a client on some hosting server and I end up downloading the pear packages in the doc root and then setting the ini_path to point to the new directory that had all the pear packages.
 
Back
Top