[MacPorts] #34228: php5: fsockopen don't work since php 5.3.10, with openssl 1.0.1b_0

MacPorts noreply at macports.org
Thu Aug 9 10:05:05 PDT 2012


#34228: php5: fsockopen don't work since php 5.3.10, with openssl 1.0.1b_0
--------------------------------+-------------------------------------------
 Reporter:  clement@…           |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:                                       
Component:  ports               |     Version:  2.0.4                                
 Keywords:                      |        Port:  php5                                 
--------------------------------+-------------------------------------------

Comment(by macports.trippyd@…):

 {{{
 openssl version
 OpenSSL 1.0.1c 10 May 2012
 }}}

 For your server, graph.facebook.com, I get your results, but for my mac:

 {{{
 php -r "var_dump(fsockopen('ssl://pilot-
 payflowpro.verisign.com',443,\$errnum,\$errstr,5));"

 Warning: fsockopen(): SSL: crypto enabling timeout in Command line code on
 line 1

 Call Stack:
     0.0021     229456   1. {main}() Command line code:0
     0.0030     230480   2. fsockopen() Command line code:1


 Warning: fsockopen(): Failed to enable crypto in Command line code on line
 1

 Call Stack:
     0.0021     229456   1. {main}() Command line code:0
     0.0030     230480   2. fsockopen() Command line code:1


 Warning: fsockopen(): unable to connect to ssl://pilot-
 payflowpro.verisign.com:443 (Unknown error) in Command line code on line 1

 Call Stack:
     0.0021     229456   1. {main}() Command line code:0
     0.0030     230480   2. fsockopen() Command line code:1
 }}}

 On my linux server:

 {{{
 [dl at scsh01 ~]$ php -r "var_dump(fsockopen('ssl://pilot-
 payflowpro.verisign.com',443,\$errnum,\$errstr,5));"
 resource(4) of type (stream)
 }}}

 My mac and the linux server are both originating from the same network.

-- 
Ticket URL: <https://trac.macports.org/ticket/34228#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list