Log in or register to post comments

require_once(HTTP/Request2.php): failed to open stream: No such file or directory

July 16, 2013 - 3:55am #1

I'm testing some code and I'm receiving the below error:

require_once(HTTP/Request2.php): failed to open stream: No such file or directory

I'm using the Sample PHP Code for creating requests.
In particular, I'm using the PostNewTarget.php.

I've done a bit of research and it seems I need access to some pear packages to get this to work.

I'm not sure how to proceed here.

Thanks,
Dan

require_once(HTTP/Request2.php): failed to open stream: No such

November 23, 2014 - 8:33am #4

I am also expericing the same issue and can some one help me please 

 

http://khaleej-live.com/php/PostNewTarget.php

 

 

require_once(HTTP/Request2.php): failed to open stream: No such

July 16, 2013 - 7:37am #3

Thanks for the follow-up  - yes you need to use the PEAR installer for that package.

require_once(HTTP/Request2.php): failed to open stream: No such

July 16, 2013 - 6:06am #2

Okay.

Just in-case anyone in future experiences this error...

I was using MAMP, and I had to install the PEAR package HTTP_Request2 officially using the PEAR installer, then check that my PHP path was correct.

http://www.lullabot.com/blog/articles/installing-php-pear-and-pecl-extensions-mamp-mac-os-x-107-lion

Log in or register to post comments