PHP recompile with cURL
Hello everyone,I am trying to recompile my PHP Version 4.3.1 to include cURL.
'./configure' '--with-apxs=/hsphere/shared/apache/bin/apxs' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-gd=/hsphere/shared' '--with-gettext' '--with-bz2' '--with-zlib' '--with-imap=/hsphere/shared' '--with-mysql=/usr' '--with-pgsql=/usr' '--with-zip=/hsphere/shared' '--disable-debug' '--enable-versioning' '--enable-sockets' '--enable-track-vars' '--localstatedir=/var/hsphere/php' '--enable-trans-sid' '--enable-ftp' '--with-curl'
But I get the following error:
bash: ./configure: No such file or directory
I looked for ./configure and tried to run it under:
/usr/lib/php4
/usr/lib/php
/usr/include/php
.. all these directories, but no use ... same error. I guess I am supposed to run this configure script in the PHP source dir. which dir is that? How do I find where it is?
Am I missing some thing? Please enlighten.
Thank you.