I have cURL installed in /usr/local/curl , and this is my php config
line
which works for me.
./configure --prefix=/usr --with-apxs=/usr/sbin/apxs
--with-config-file-path
=/etc/httpd \
--with-exec-dir=/usr/bin --with-libdir=/usr/lib --with-zlib \
--with-gd=/home/local --enable-gd-native-ttf --with-jpeg-dir=/usr/lib \
--with-freetype-dir=/usr/include/freetype2 --with-Xpm --with-ttf
--with-t1li
b \
--with-gettext=/usr --with-png-dir=/usr/lib --with-regex=system
--with-db \
--with-gdbm --with-mbstring --with-mbstr-enc-trans --with-ldap \
--with-curl --with-imap-ssl --with-mysql=/usr \
--with-pgsql=shared --with-pdflib=shared --enable-ftp
--enable-safe-mode \
--enable-trans-sid --enable-inline-optimization --enable-track-vars
--enable
-wddx=shared \
--enable-mm=shared --enable-magic-quotes --enable-xml --disable-debug
Bassi