News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Fabien Potencier's Blog:
PHP 5.3.0 on Mac OS 10.6 (Snow Leopard)
November 05, 2009 @ 08:33:42

Fabien Potencier has been moving over to the Mac OSX platform for some of his development and figured out that he needed a custom installation of PHP 5.3, different than the one that comes with the default install of Snow Leopard. The process was a bit tricky, so he's written up a post as a guide for those wanting to do it too.

To do my work, I need to have several different versions of PHP at hand, with different configurations, and so I always compile my own PHP and Apache binaries on my Mac. [...] Now that I use PHP 5.3.0 more and more, I decided it was time to compile my own version. As it turns out, compiling PHP 5.3.0 on Snow Leopard is a bit involving.

He walks you through the configure command he used, how he patched the iconv.c file, patch the source of PHP with the change and recompile with an EXTRA_LIBs environment variable set. The steps he followed were based on the hints provided in this bug from the PHP.net website.

1 comment voice your opinion now!
compile osx snowleopard mac


blog comments powered by Disqus

Similar Posts

Gopal Vijayaraghavan's Blog: APC Autofilter: The Real Story

Artur Ejsmont's Blog: How to build mongodb pecl extension in 32bit for PHP 5.2 on OSX Snow Leaopard

Mike Purcell's Blog: CentOS - PHP - Install Memcached (with a d) Stack

FCHouse.com: Debugging PHP5 with Eclipse PDT under OSX: a piece of cake!

Bård Farstad\'s Blog: Compiling Apache and PHP on Mac OS X


Community Events

Don't see your event here?
Let us know!


install example performance podcast interview application opinion composer configure symfony2 conference laravel introduction library php7 framework community release api series

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework