php5 with pear and curl

Troy Dalmasso motoservo at
Fri Jul 31 18:50:17 PDT 2009

I first installed MacPorts two years ago and haven't really touched it  
since so my knowledge of this is lacking. My MAMP stack has been  
working fine, for the most part. But now I find that I need curl and  
pear. I ran through much of the documentation and quickly remembered  
how to add a variant while adding a port. I got php+pear running with  
little effort.

My problem, is that I can't seem to figure out how to get curl to  
work. I did find the php5-http port, and that would solve my curl  
issue, but it doesn't allow pear as a dependency.

So, I'm guessing that somehow, by having both of the php5+pear and php- 
curl ports, I'm supposed to have the capability I need now? I can't  
seem to get curl to work, however, and the word curl only appears once  
in my phpinfo() and that is where an additional .ini file is read:

Additional .ini files parsed	/opt/local/var/db/php5/curl.ini

Can someone explain what further steps I need to take to get this php- 
curl (extension?) port to work in tandem, or be recognized, by my  
php5+pear port? It's obvious just *having* these two ports isn't enough.

Troy Dalmasso
Bit Beyond, LLC
"Anything you can imagine."
mobile: 512 496-4874
aim: motoservo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list