[MacPorts] #13293: calling curl_version() from php results in bus error

MacPorts trac at macosforge.org
Thu Dec 13 07:08:27 PST 2007


#13293: calling curl_version() from php results in bus error
--------------------------------+-------------------------------------------
  Reporter:  joe at slagwerks.com  |       Owner:  ryandesign at macports.org
      Type:  defect             |      Status:  new                    
  Priority:  Normal             |   Milestone:  Port Bugs              
 Component:  ports              |     Version:  1.5.0                  
Resolution:                     |    Keywords:  php curl               
--------------------------------+-------------------------------------------
Comment (by ryandesign at macports.org):

 `curl_version()` seems to return an array, not a string, and it works fine
 for me, on a MacBook Pro, with Mac OS X 10.4.11, Xcode 2.4.1, MacPorts
 1.6.0-rc3, php5 5.2.5_1 and curl 7.17.1_0.

 {{{
 $ /opt/local/bin/php -r 'print_r(curl_version());'
 Array
 (
     [version_number] => 463105
     [age] => 3
     [features] => 540
     [ssl_version_number] => 0
     [version] => 7.17.1
     [host] => i386-apple-darwin8.10.1
     [ssl_version] => OpenSSL/0.9.8g
     [libz_version] => 1.2.3
     [protocols] => Array
         (
             [0] => tftp
             [1] => ftp
             [2] => telnet
             [3] => dict
             [4] => http
             [5] => file
             [6] => https
             [7] => ftps
         )

 )
 $
 }}}

 Does this work for you?

-- 
Ticket URL: <https://trac.macports.org/projects/macports/ticket/13293#comment:3>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list