[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] PHP with cURL support as an Apache DSO
- Subject: [cobalt-users] PHP with cURL support as an Apache DSO
- From: "Michelle A. Hoyle" <michelle@xxxxxxxxxxxxx>
- Date: Wed Aug 15 09:20:23 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Environment:
OS: RedHat Linux 6.x (custom version)
Machine: Sun Cobalt RaQ 4R
PHP version: 4.0.6 with Zend Optimizer
cURL version: 7.8
Apache version: 1.3.12
Problem Summary:
curllib compiles into PHP just fine as a DSO for Apache. When Apache
uses the DSO, it dumps core and dies in a big way without any
discernible error in the error log.
Detailed Explanation:
I've tried compiling cURL support into PHP 3 or 4 times now and I
just can't get it to go. cURL compiles fine. PHP compiles fine.
PHP with cURL compiles fine, even as a DSO. Install the DSO and
<Boom!> Recompile PHP without cURL as a DSO and it works fine.
Here's the configuration of PHP
--prefix=/usr --with-apxs=/usr/sbin/apxs --with-gd
--with-gettext=/usr --enable-safe-mode
--with-config-file-path=/etc/httpd --with-exec-dir=/usr/bin
--with-zlib --enable-magic-quotes --with-regex=system
--with-ttf=/usr/lib/libttf.so --enable-track-vars --enable-xml
--disable-debug --with-interbase=shared --with-pgsql=shared
--with-ldap --with-imap --enable-trans-sid --with-mysql --with-curl
Contents of /etc/ld.so.conf
/lib
/usr/lib
/usr/i486-linux-libc5/lib
/usr/X11R6/lib
/home/chiliasp/lib
/usr/lib/apache
/usr/lib/mysql
/usr/local/lib
Curl SO is in /usr/local/lib and PHP, when compiling, doesn't
complain that it can't find it.
I'm running out of bright ideas. Has anybody gotten this to work or
can suggest something else for me to try? I'm not sure if it's a
RaQ-specific problem or a PHP problem or a cURL problem.
Thanks,
Michelle