How can I install php5 curl module or any other php5 modules in mac osx snow leopard?
In Ubuntu 9.04 I am using:
sudo apt-get install php5-curl
I already tried Googling but can't find some solution.
I would install it via macports. Once you've installed mac ports, you can use it to build and then install php5 curl with the command
sudo port install php5-curl
I was able to determine what the mac ports package name was by using the ports search function:
port search curl
Edit: You must have Apple Developer tools (X Code) installed on your machine for mac ports to work. X Code can be downloaded free from Apple. It also should be on your second Snow Leopard installation disc.
As a developer working on Apple machines, I find ports indispensable. It's rare that I get through an entire project without relying on it for some dependency, especially when I am using a lot of open source libraries. It's worth spending some time looking around and seeing what else is in there.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With