Skip to main content

Trouble with ‘http get’ on VPS

Comments

5 comments

  • Jelf
    Also magic user loader is disabled.
    0
  • twhiting9275
    If you're seeing the warning regarding HTTP, then it's not installed. Go into WHM, search for 'pear' . Look at both the pear and pecl modules. Is it in there?
    0
  • Jelf
    Yes, when I use WHM and look at the installed pear modules, that list includes HTTP_Request2. The documentation for HTTP_Request2 includes a short php script that does a 'http get'. When I run that script I get the error message I posted which includes the statement "require_once(HTTP/Request2.php): failed to open stream: No such file or directory". If by installing HTTP_Request2 the file Request2.php was supposed to be placed on my server then I cannot 'find' that file by using SSH.
    0
  • Jelf
    Let's not spend amy more time on this. I think I can use Curl for what I need to do.
    0
  • cPanelMichael
    Hello, I'm happy to see you were able to proceed with cURL as an alternative. Feel free to provide an example of the test script you were using for HTTP_Request2 if you want us to take a closer look. Thank you.
    0

Please sign in to leave a comment.