Jump to content



Photo

[Php] Fsockopen:: Unable To Find The Socket Transport "http" - Did You Forget To Enable It When You Configured Php? Errno:32690

php error http socket http socket fsockopen error 32690

  • Please log in to reply
3 replies to this topic

#1 !Brian

!Brian

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 12 January 2015 - 02:46 AM

Hi, I'm trying to use the function fsockopen, but I get this error... Anyone know how to solve this? changing anything in php maybe?

 

Error: 

Unable To Find The Socket Transport "http" - Did You Forget To Enable It When You Configured Php? Errno: 32690

php.ini

 

Registered PHP Streams

 

 https, ftps, compress.zlib, compress.bzip2, php, file, glob, data, http, ftp, phar, zip, ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp

 

Registered Stream Socket Transports

 

tcp, udp, unix, udg, ssl, sslv3, tls

 

Registered Stream Filters

 

zlib.*, bzip2.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, conv

 

Thanks a lot!.



#2 Andreas

Andreas

    Haphost Staff

  • Moderators
  • 283 posts
  • LocationGermany

Posted 12 January 2015 - 04:57 PM

You can't specify http as the transport protocol. Just write the domain name or IP address in your fsockopen function and leave out the "http://" before it.



#3 !Brian

!Brian

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 15 January 2015 - 12:35 AM

:D  :D  :D  :D  Thanks! That works great! ;)



#4 Andreas

Andreas

    Haphost Staff

  • Moderators
  • 283 posts
  • LocationGermany

Posted 15 January 2015 - 04:34 PM

I'm glad I could help you.







Also tagged with one or more of these keywords: php error, http socket, http, socket, fsockopen, error, 32690

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users