Page 1 of 1

Compile php4 with curl

Posted: Wed Oct 01, 2003 12:39 pm
by Howard547
i have php v4.1 currently. I want to compile it with curl. Documentation on the php wbesite talks about compiling with '--with-curl=/usr/bin/curl', where do I type that in?

Posted: Wed Oct 01, 2003 12:48 pm
by Derfel Cadarn
When you're using any *nix-platform, you type it in with 'configure' e.g.

Code: Select all

configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-xm' --enable-track-vars --with-curl
etc.

Posted: Wed Oct 01, 2003 1:31 pm
by Howard547
yeah, but where is this ./configure file. i been to all of my php directories (that i know of):

/usr/bin/php
/urs/lib/php4


if i could find where this ./configure file was for php, then i could do it.

I have a redhat linux sever with apache and mysql.

Posted: Thu Oct 02, 2003 3:47 am
by Derfel Cadarn
I have Suse 8.0 and here the config was in /usr/local/php-4.3.1 , but i installed it logged in as 'root'.
Is this of any help to you?