Search code examples
phpmacososx-lionmampiconv

How to use Apple's php 5.3 with MAMP


There is a bug in php 5.3 with the iconv module. Apple applied a patch for their version of php. However, MAMP didn't include this patch and is thus unusable with Zend Framework (for example).

I tried to include Apple's version of php 5.3 into the MAMP's httpd.conf, but ran into problems with symbols which could not be found. Does anyone know of a proper way to use MAMP with php 5.3 /w iconv? Is recompiling or linking apple's version an option?


Solution

  • I'm not sure this leave a whole lot of value in the MAMP, but you probably are best served compiling your own php and apache.

    http://fabien.potencier.org/article/37/php-5-3-0-on-mac-os-10-6-snow-leopard