homebrew-php - PHP formulae repo for Homebrew
In case you had issue with latest PHP upgrade (at time of writing is 5.5.16) with error regarding unable to load dynamic library, well you might have forgot to remove ini reference.
In my case, it tried to load intl library which already not needed for my copy of 5.5.16 version. (not sure it the same applied to others)
a quick php --ini, will list all the .ini files included:
Configuration File (php.ini) Path: /usr/local/etc/php/5.5 Loaded Configuration File: /usr/local/etc/php/5.5/php.ini Scan for additional .ini files in: /usr/local/etc/php/5.5/conf.d Additional .ini files parsed: /usr/local/etc/php/5.5/conf.d/ext-intl.ini, /usr/local/etc/php/5.5/conf.d/ext-mcrypt.ini, /usr/local/etc/php/5.5/conf.d/ext-redis.ini
Removing the file /usr/local/etc/php/5.5/conf.d/ext-intl.ini solved the problem.

















