PHP 4.3

Adam Trachtenberg has published a useful article on the O'Reilly website on installing PHP 4.3 on Jaguar.

In the past, if you wanted to use PHP on Mac OS X, you either needed to run the pre-compiled module provided by Apple or download a special, hand-built version made by helpful users.

The pre-complied version was easy to install, but was only a cut-down version of 4.0.6. Since the release of 4.2, PHP has changed considerably and as ISP’s will, more than likely, have upgraded when it came out, it’s a good idea to upgrade your development setup too.

PHP 4.3 now allows you to build and configure PHP for your desired setup (including Jaguar), so finally Mac OS X users have the same level of support that people who run Linux and Windows enjoy.

Posted 7 years, 6 months ago

I tried Trachtenberg’s instructions but cratered on the fact that it needs a newer curl than Apple ships, and I couldn’t get his script to recognize the updated version I installed using <a href="http://fink.sourceforge.net/" target="_blank">fink</a>. <a href="http://www.aaronfaby.com/" target="_blank">Aaron Faby</a> has a <a href="http://www.aaronfaby.com/php4.php" target="_blank">precompiled</a> version of PHP 4.3, and other <a href="http://www.aaronfaby.com/software.php#macosx" target="_blank">useful *nix software</a> for OS X. The only caveat is that his install assumes you also install his version of Apache 2. Instructions are (apparently) given for making it work with other (read older) Apache installs.

valiant66 · www · 7 years, 6 months ago

Hmm, seems some others had the same problem - I guess <a href="http://www.oreillynet.com/cs/user/view/cs_msg/13818">his fix</a> didn’t do the job?

Cheers for the link to Aaron Faby - looks like a pretty good OS X resource - I’ll add it to the frequent list here.

Phil · 7 years, 6 months ago