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

Bertrand Mansion's Blog:
PHP with Itnl and Gettext on OSX Lion
Aug 09, 2011 @ 16:40:11

Bertrand Mansion has a recent post to his blog looking at repairing missing functionality in the latest OS X update (Lion) with the intl extension and gettext (not installed by default).

Mac OSX Lion ships with PHP 5.3.6. [...] These are all very good solutions, but since I prefer to travel light and the version in Lion already comes with a lot of useful extensions, I preferred to go with it.

He shows how to update the default Lion PHP install to include some of the things he needed for his development including:

  • setting up the php.ini file
  • installing PEAR/PECL
  • installing the intl extension
  • and a hack to get gettext working (renaming a base function)
tagged: gettext lion itnl extension osx install pecl pear

Link:


Trending Topics: