Uncategorized

php intl extension php

1) Use “port” to install php71-intl % sudo port install php71-intl (2) Copy intl.so into active php extensions directory % sudo cp /opt/local/lib/php/extensions/no-debug-non-zts-20090626/intl.so /usr/lib/php/extensions/no-debug-non-zts-20090626 (3) Add “extension=intl.so” into php.ini % emacs /etc/php.ini % diff /etc/php.ini~ /etc/php.ini 1018a1019 > extension=intl.so (4) Restart apache % sudo apachectl restart Advertisements

Uncategorized

php71 osx problem

# 1. Install brew –> http://brew.sh/ # 2. run the following commands in your Terminal brew tap homebrew/dupes brew tap homebrew/versions brew tap homebrew/homebrew-php brew install –with-openssl curl brew install –with-homebrew-curl –with-apache php71 brew install php71-mcrypt php71-imagick # 3. Follow these instructions to make Apache and php-cli use the newer php executable and make the… Continue reading php71 osx problem