ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  PHP 4.3 and Mac OS X
Subject:   Location of fink packages
Date:   2003-02-28 19:04:15
From:   tychay
Response to: Location of fink packages

It should be noted that the default version of curl in Jaguar is 7.7.? but PHP 4.3 "--with-curl" requires curl 7.8.2 (some docs say 7.9) or later so you need to compile curl yourself (not much of a stretch), or use Fink's curl package.


If you compile curl yourself and want to write over Apple's installation, use
curl --remote-name http://curl.hax.se/download/curl-7.10.3.tar.bz2
bzip2 -dc curl-7.10.3.tar.bz2 | gnutar --extract
pushd curl-7.10.3
./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-static --enable-shared --with-ssl=/usr --with-zlib=/usr"
make
sudo make install
popd
rm -rf curl-7.10.3


(i think that will work). BTW, you may want to run Disk Repair ", Repair Disk Permissions after the install (of curl and PHP both!) to change the binaries/libraries/etc to be writeable by group and belong to staff. :-)


Take care,


terry chay
tychay at php dot net