Skip to content

Instantly share code, notes, and snippets.

@iampersistent
Created October 1, 2015 19:53
Show Gist options
  • Save iampersistent/19d63d2521ca525629a8 to your computer and use it in GitHub Desktop.
Save iampersistent/19d63d2521ca525629a8 to your computer and use it in GitHub Desktop.
Installing ext-intl OSX Yosemite
curl http://ftp.gnu.org/gnu/autoconf/autoconf-latest.tar.gz > autoconf.tar.gz
tar -xvzf autoconf.tar.gz
cd autoconf-2.69
./configure
sudo make && sudo make install
export PHP_AUTOCONF=/usr/local/bin/autoconf
from browser - http://sourceforge.net/projects/icu/files/ICU4C/55.1/icu4c-55_1-src.tgz/download
cd ~/Downloads
tar xzvf icu4c-55_1-src.tgz
cd icu/source
chmod +x runConfigureICU configure install-sh
./runConfigureICU MacOSX
sudo make && sudo make install
cd /usr/lib/php
sudo php install-pear-nozlib.phar
sudo pecl update-channels
sudo pecl install intl
add extension=your-intl.so to php.ini
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment