From:             admin at nexcast dot net
Operating system: Linux 2.6.18-92.el5
PHP version:      5.3SVN-2009-10-20 (SVN)
PHP Bug Type:     Streams related
Bug description:  Failed to detect socket transport

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.

-- 
Edit bug report at http://bugs.php.net/?id=49930&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=49930&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=49930&r=trysnapshot53
Try a snapshot (PHP 6.0):            
http://bugs.php.net/fix.php?id=49930&r=trysnapshot60
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=49930&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=49930&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=49930&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=49930&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=49930&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=49930&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=49930&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=49930&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=49930&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=49930&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=49930&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=49930&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=49930&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=49930&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=49930&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=49930&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=49930&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=49930&r=mysqlcfg

Reply via email to