Jump to content

Recommended Posts

Posted

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

Posted

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.

Posted

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.

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...