NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Making modules accessible from debugger


Joined: 20 Jun 2014
Posts: 4
Reply with quote
This is undoubtedly a newbie question.

I'm using require_once 'HTTP/Request2.php' in my code. When I run in the phpEd debugger, I get an error "failed to open stream: No such file or directory." I thought I needed to install the package with PEAR, so I went to my PEAR directory (I'm on Windows, so it was C:\Users\<user name>\AppData\Roaming\PEAR) and ran:
pear install HTTP_Request2
I got the error 'No releases available for package "pear.php.net/HTTP_Request2" install failed'.

What do I need to do to get HTTP_Request2 working?

Thank you,
Bob
View user's profileFind all posts by altairSend private message
Guru master

Joined: 24 Jul 2009
Posts: 737
Reply with quote
I don't use pear so I don't know how much help I can offer, but maybe the channel you are using doesn't have that package for some reason.

You could try a direct download from http://download.pear.php.net/package/HTTP_Request2-2.2.1.tgz then manually install.

With a manual install you might also need to install Net_URL2: more info at http://pear.php.net/package/HTTP_Request2/
View user's profileFind all posts by plugnplaySend private message
Making modules accessible from debugger
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic