[MacPorts] #13293: php5: calling curl_version() results in bus error
MacPorts
noreply at macports.org
Fri Feb 27 23:46:36 PST 2009
#13293: php5: calling curl_version() results in bus error
-------------------------------+--------------------------------------------
Reporter: joe@… | Owner: ryandesign@…
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.5.0
Keywords: curl | Port: php5
-------------------------------+--------------------------------------------
Changes (by blb@…):
* keywords: php curl => curl
* port: => php5
Old description:
> Most curl functions seem to work normally from php. However, calling
> curl_version() in a script doesn't work. When called from
> /opt/local/bin/php, the result is 'Bus error'. When called via FCGI, the
> php backend dies without output.
>
> OS X 10.4
>
> $ port
> MacPorts 1.520
>
> $ /opt/local/bin/php -v
> PHP 5.2.5 (cli) (built: Nov 13 2007 18:23:58)
>
> $ /opt/local/bin/curl -V
> curl 7.17.1 (i386-apple-darwin8.10.1) libcurl/7.17.1 zlib/1.2.3
> Protocols: tftp ftp telnet dict http file
> Features: Largefile libz
New description:
Most curl functions seem to work normally from php. However, calling
curl_version() in a script doesn't work. When called from
/opt/local/bin/php, the result is 'Bus error'. When called via FCGI, the
php backend dies without output.
OS X 10.4
{{{
$ port
MacPorts 1.520
$ /opt/local/bin/php -v
PHP 5.2.5 (cli) (built: Nov 13 2007 18:23:58)
$ /opt/local/bin/curl -V
curl 7.17.1 (i386-apple-darwin8.10.1) libcurl/7.17.1 zlib/1.2.3
Protocols: tftp ftp telnet dict http file
Features: Largefile libz
}}}
--
Comment:
Is anyone still seeing this, I can't reproduce either? If it is still an
issue for someone, interesting information would include the output from
{{{
otool -L /opt/local/bin/php
}}}
and
{{{
otool -L /opt/local/lib/libcurl.dylib
}}}
--
Ticket URL: <http://trac.macports.org/ticket/13293#comment:14>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list