Hi, I’ve used Virtualmin to install a pear module, and the VirtualMin UI indicates that the module is installed (HTTP_Request). However, my php code fails when I code against the module using the standard documented approach.
e.g.
require_once “HTTP/Request.php”;
$rseq =& new HTTP_Request("http://www.google.com/");
if (!PEAR::isError($req->sendRequest())) {
echo $req->getResponseBody();
My research suggests that the above code should work if the module is installed and configured properly. I have reason to believe that this is so, yet the code above still fails. I apologize if I’m missing something glaringly obvious.
P.S. I hope I’ve posted to the appropriate forum…