cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: curl (with php to HTTPS)

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 12 Apr 2001 08:13:11 +0200 (MET DST)

On Thu, 12 Apr 2001, Lim Chung Keng wrote:

> I recompiled curl with
> './configure --disable-ipv6 --with-ssl=/usr/local/ssl' and got :
> curl 7.6.1 (i386-unknown-freebsd4.1) libcurl 7.6.1 (SSL 0.9.6)
> which is without ipv6 feature.

Yes, that looks better!

> But after recompiling PHP with
> './configure --with-mysql --with-curl=/usr/local/lib --with-openssl=/usr/loc
> al/ssl', the phpinfo() still printed me the following :

> > > curl
> > > CURL support enabled
> > > CURL Information libcurl 7.6.1 (ipv6 enabled)

Hm, did you 'make install' the no-ipv6 version from above? Anyhow, this looks
like you now have two different curl libraries in your system, and the one
without IPv6 support is the one you want.

> Any other setting required for PHP? The new libcurl.a is already in
> /usr/local/lib (which I assumed it should be ipv6-disabled).

PHP generally use the shared version of libcurl, while libcurl.a won't be
used; libcurl.so will.

> Have tried even with '--with-curl=../curl-7.6.1' and 'make distclean',
> none of these made a difference.

When you've built your php library, run 'ldd <lib>' on it to see exactly
which libcurl library (you'll see the full path) that is used within it.

-- 
  Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/
_______________________________________________
Curl-and-php mailing list
Curl-and-php_at_lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/curl-and-php
Received on 2001-04-12