PEAR HTTP_Client class and https requests

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Francisco Montes

    PEAR HTTP_Client class and https requests

    Hi everyone,

    After two days of research I am starting to get a bit lost and I was
    just wondering if there is not an easy way to achieve what I am after:

    Basically, with PHP I want to use the PEAR HTTP_Client class to
    retrieve a web page from a remote machine. But using https instead of
    http.

    When I used http to grab pages from sites it works perfectly well.
    However if I try to connect to pages through SSL (https, that is) then
    I get blank pages. Not sure if anybody else got this before.

    I am using Apache 1.3.29 with PHP 4.3.7, plain and simple ;-)

    What do I need to do in order to be able to connect to remote machines
    through https?

    Thank you very much in advance

    Francisco J. Montes
  • Jasper Bryant-Greene

    #2
    Re: PEAR HTTP_Client class and https requests

    Francisco Montes wrote:[color=blue]
    > What do I need to do in order to be able to connect to remote machines
    > through https?[/color]

    You need to compile in OpenSSL support by compiling with the
    --with-openssl option.

    --
    Jasper Bryant-Greene
    Cabbage Promotions

    Comment

    • Francisco Montes

      #3
      Re: PEAR HTTP_Client class and https requests

      Jasper Bryant-Greene <jasp@fatalnetw ork.com> wrote in message news:<qD7Yc.190 25$N77.750467@n ews.xtra.co.nz> ...[color=blue]
      > Francisco Montes wrote:[color=green]
      > > What do I need to do in order to be able to connect to remote machines
      > > through https?[/color]
      >
      > You need to compile in OpenSSL support by compiling with the
      > --with-openssl option.[/color]

      I'm compiling Apache under Windows though. Where do I specify that option?

      Comment

      Working...