Help with Fatal error: fopen(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • meenasamy@hotmail.com

    Help with Fatal error: fopen(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP?

    Hi all i have used a script that i downloaded and uses the
    fopen($url,'r') ; function to access a url to retrieve data and i get
    this error

    Fatal error: fopen(): Unable to find the wrapper "https" - did you
    forget to enable it when you configured PHP?

    i checked the 'allow_url_fope n = On' in php.ini and it is set to On,
    and still it didn't work

    Any ideas plz??

    Thank you

  • Alkimake

    #2
    Re: Help with Fatal error: fopen(): Unable to find the wrapper "https&quo t; - did you forget to enable it when you configured PHP?

    You have to use PHP 4.3 + and have OpenSSL .

    Comment

    • Meena

      #3
      Re: Help with Fatal error: fopen(): Unable to find the wrapper "https&quo t; - did you forget to enable it when you configured PHP?

      what do u mean by having OpenSSL ( i understand the term but how do i
      do it)??

      Comment

      • Alkimake

        #4
        Re: Help with Fatal error: fopen(): Unable to find the wrapper "https&quo t; - did you forget to enable it when you configured PHP?

        change the line
        ;extension=php_ openssl.dll to extension=php_o penssl.dll
        in php.ini file.
        simply remove ";" char.

        if it wont work. you can create ssl:// connection with fsockopen()
        function then you can use fopen().

        Comment

        • Meena

          #5
          Re: Help with Fatal error: fopen(): Unable to find the wrapper "https&quo t; - did you forget to enable it when you configured PHP?

          i tried the fsockopen() but i got this :
          Fatal error: fsockopen(): php_network_get addresses: gethostbyname
          ?????

          any suggestions??

          Comment

          • void * clvrmnky()

            #6
            Re: Help with Fatal error: fopen(): Unable to find the wrapper "https&quo t;- did you forget to enable it when you configured PHP?

            Please quote previous replies when replying with your own comments.
            There is no guarantee that your answer, below, will stay in context with
            the original posting(s).

            Meena wrote:[color=blue]
            > i tried the fsockopen() but i got this :
            > Fatal error: fsockopen(): php_network_get addresses: gethostbyname
            > ?????
            >[/color]
            Looks like either a lookup problem or potentially a known bug in earlier
            versions of PHP. If using the IP address of the host fails in the same
            manner, see if you can capture the full failure, and compare with
            similar reports on bugs.php.net.

            Google for "php_network_ge taddresses".

            Comment

            Working...