Compile php4 with curl

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Howard547
Forum Newbie
Posts: 13
Joined: Fri Jul 19, 2002 11:58 am

Compile php4 with curl

Post 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?
User avatar
Derfel Cadarn
Forum Contributor
Posts: 193
Joined: Thu Jul 17, 2003 12:02 pm
Location: Berlin, Germany

Post 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.
Howard547
Forum Newbie
Posts: 13
Joined: Fri Jul 19, 2002 11:58 am

Post 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.
User avatar
Derfel Cadarn
Forum Contributor
Posts: 193
Joined: Thu Jul 17, 2003 12:02 pm
Location: Berlin, Germany

Post 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?
Post Reply