How do I configure PHP to use curl?

Paul Procacci pprocacci at datapipe.com
Tue Dec 30 18:20:25 UTC 2008


John Almberg wrote:
> I just ran into something that has me stumped. It's probably a real 
> newbie question, but I can't figure it out...
>
> I'm trying to add curl support to my PHP installation, but when I run 
> 'make config' in the /usr/ports/lang/php5 directory, curl is not one 
> of the very small set of options given.
>
> PHP has a million options, so how do you set one that is not in the 
> 'make config' box?
>
> -- John
>
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at freebsd.org"
cd /usr/ports/ftp/php5-curl

make install

restart your web server.

Cheers!


More information about the freebsd-questions mailing list