andersonsm1 Posted July 15, 2003 Posted July 15, 2003 Is it possible to view what Pear (http://pear.php.net) modules are installed? I was hoping to use the SOAP, HTTP_Request, Net_URL, and Net_DIME packages to access the Google API. Does anyone know of a good resource for installing these packages locally if they aren't available "server wide"? Thanks! Rock Sign Cheers, Scott Quote
borfast Posted July 15, 2003 Posted July 15, 2003 I don't know which PEAR modules are installed but I'd like to be able to access them as well. If I just include("DB.php"), it won't work. I don't know if it's my mistake but I think PEAR, when installed, should be accessible globaly, right? At least that's how it works on my desktop computer... But don't take my word for it, I'm just starting to use PEAR now, so I could be wrong. Anyway, I still didn't investigate this due to lack of time so I came up with a temporary workaround. You can do what I did: upload all the PEAR files into a directory in your account and then, in each page that uses PEAR stuff, you just have to add the following: ><?php $my_pear = "/path/to/where/you/have/pear/"; ini_set("include_path", ini_get("include_path").":$my_pear"); // Rest of your script.... ?> That will allow you to include the PEAR files from anywhere. Quote
andersonsm1 Posted July 15, 2003 Author Posted July 15, 2003 Thanks! This was just what I needed. Cheers, Scott Quote
Head Guru Posted July 15, 2003 Posted July 15, 2003 Pear modules are not installed by default on the servers. WE will per any users request install pear on the servers. Alan just completed a install of PEAR on a server. Quote
Farnes Posted July 29, 2003 Posted July 29, 2003 And PEAR is working great, thanks for the prompt help a couple weeks ago! Doug Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.