re-compile PHP with curl support
| From: | K.C.P. van Zijl | Date: | Wed, 18 Dec 2002 01:37:01 +0000 |
| Subject: | re-compile PHP with curl support | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-9411@lists.php.net to get a copy of this message | ||
Hello,
Im writing a script and want to use cURL, but curl support isnt
compiled in my PHP at the moment.
Is this difficult to do? Does the following command re-compile PHP and
everything is alright?:
./configure \
--prefix=/usr/local/psa/apache \
--with-regex=php \
--with-apxs=/usr/local/psa/apache/bin/apxs \
--with-config-file-path=/usr/local/psa/apache/conf \
--enable-sockets \
--enable-track-vars \
--with-mysql=/usr/local/psa/mysql \
--with-imap=/root/imap-2002.DEV/imap-2002.DEV.SNAP-0205201832 \
--with-mhash=/usr/local \
--with-pgsql \
--with-zlib-dir=/usr \
--with-gd=/usr \
--with-jpeg-dir=/usr \
--with-png-dir=/usr \
--with-tiff-dir=/usr \
--with-gettext \
--with-xml \
--disable-debug \
--enable-pear \
--with-curl=/usr/bin
Or do I have to do more then this?
Thanks,
Karel