| Article: |
PHP 4.3 and Mac OS X | |
| Subject: | adding directives in the future | |
| Date: | 2004-01-27 07:40:42 | |
| From: | nicki | |
|
This is a newbie question- I have everything working but just want php to look at curl. Does this mean I have to go through this entire process to add that. I mean, everytime I want php to see a new thing, I have to start from scratch like this? I was hoping there was a way to just run the configure command alone or add a line to php.in like you can do for windows. Although maybe the mac doesn't come with the build, just everything already working. Thanks, Nicki |
||
Showing messages 1 through 1 of 1.
-
adding directives in the future
2004-01-29 18:04:06 Adam Trachtenberg |
[View]



% ./config.nice --enable-curl
% make
% sudo make install
And that should be everything you need. If you run into weird compile errors, do:
% make clean
And repeat the whole process. That'll clear out the old junk lying around from before.
Also, if you want to use the curl installed using fink instead of Apple's, do:
% ./config.nice --with-curl=/sw
If you've never built PHP before, you do need to go through the entire process. There's no special trick to just add in one module, like cURL.