HowtoInstallPHPintlextensiononOSX
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了HowtoInstallPHPintlextensiononOSX,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含1272字,纯文字阅读大概需要2分钟。
内容图文
Step 1. Install ICU Libraries with HomebrewFirst we’ll need to install any dependencies. To quote the intl package description:
“The Internationalization extension exposes functionality of the ICU library to PHP”.
The ICU Libraries is our only dependency. If you have Homebrew installed you can use that; alternatively, you can download and compile from source.
Using homebrew:
$ brew update
$ brew search icu# returns 'icu4c'
Success. Install:
$ brew install icu4c
A couple of minutes to download and compile, and ICU is installed. PECL will prompt you for the path where the header files and stuff were installed; on my machine this was:
/usr/local/Cellar/icu4c/56.1/
Step 2. Install Intl with PECL
$brew install homebrew/php/php56-intl
Restart apache
$sudo apachectl restart
Step 3. Check!
Finally, check that the module is registered:
$ php -m | grep intl
# should return 'intl'
The second way using phpinfo()
参考链接地址:http://darraghenright.tumblr.com/post/22027208929/installing-intl-package-on-osx-lion
').addClass('pre-numbering').hide(); $(this).addClass('has-numbering').parent().append($numbering); for (i = 1; i <= lines; i++) { $numbering.append($('').text(i)); }; $numbering.fadeIn(1700); }); });以上就介绍了How to Install PHP intl extension on OS X,包括了方面的内容,希望对PHP教程有兴趣的朋友有所帮助。
内容总结
以上是互联网集市为您收集整理的HowtoInstallPHPintlextensiononOSX全部内容,希望文章能够帮你解决HowtoInstallPHPintlextensiononOSX所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。