Barno
Barno

Reputation: 3331

Mamp 2.2 and intl.so for ICU

I have Mamp 2.2 with php 5.5.3 and Mac osx 10.8.5

i don't find intl.so in my modules and on web, and this is recommendations of symfony project

before i use this (https://github.com/josegonzalez/homebrew-php) but now i can't use php55

brew options php55
Error: No available formula for php55 

i have already tried to install my old intl.so (php 5.4) but dosen't works

Upvotes: 2

Views: 1696

Answers (2)

nils
nils

Reputation: 88

To fix the "Error: No available formula for php55" try:

brew tap --repair

To add the intl extension, you could reinstall php with

brew reinstall php --with-intl

but in the current version 5.5.5 is an issue, so you have to install intl with:

brew install php55-intl

Upvotes: 0

mkjasinski
mkjasinski

Reputation: 3098

Use port, look here: MacPorts

Next:

port search php55-intl

Result:

php55-intl @5.5.4 (php, devel)
    internationalization extension for PHP

From PHP 5.5.3 to PHP 5.5.4 were no changes in intl, so it should work - PHP 5.5.4 Changelog

And install it:

port install php55-intl

After install copy intl.so (from: /opt/local/lib/php55/extensions/no-debug-non-zts-20100525/, path in my system) library to extension dir of MAMP and load in php.ini.

Upvotes: 2

Related Questions