| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             [2009-10-20 03:14 UTC] admin at nexcast dot net
  | 
    |||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 05:00:01 2025 UTC | 
Description: ------------ ------------- Configure Line ------------- Configure Command './configure' '--prefix=/usr/local/php' '--disable-all' '--with-sqlite' '--enable-fastcgi' '--with-pcre-regex' '--with-curl' '--with-mysql' '--enable-filter' -------------- Stream Transports -------------- Registered PHP Streams php, file, glob, data, http, ftp PHP However still reports that it does not exist. Reproduce code: --------------- <?php if(fsockopen("http://google.com", 80)) { echo "Opened."; } else { echo "Not opened."; } ?> Expected result: ---------------- Opened. Actual result: -------------- PHP Warning: fsockopen(): unable to connect to http://google.com:80 (Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?) in /root/test.php on line 2\ Not opened.