Created
May 29, 2014 06:06
-
-
Save agustinhaller/0abfb8cea658b021ff0e to your computer and use it in GitHub Desktop.
attempt to install gettext php extension in mountain lion osx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Download from: http://ftp.gnu.org/pub/gnu/gettext/gettext-0.18.3.2.tar.gz | |
| cd ~/Downloads | |
| tar xzvf gettext-0.18.3.2.tar.gz | |
| cd gettext-0.18.3.2 | |
| ./configure | |
| make | |
| sudo make install | |
| # If this doesn't work, then install gettext using "brew install gettext" | |
| # Download from: http://www.php.net/get/php-5.5.12.tar.gz/from/a/mirror | |
| cd ~/Downloads/php-5.5.12/ext/gettext | |
| phpize | |
| ./configure | |
| make | |
| sudo cp modules/gettext.so /usr/lib/php/extensions/no-debug-non-zts-20090626/ | |
| # Don't forget to add 'extension=gettext.so' to /etc/php.ini |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment