在 XAMPP for Mac Lion 10.8 上安装 Php-intl [英] Php-intl installation on XAMPP for Mac Lion 10.8

查看:28
本文介绍了在 XAMPP for Mac Lion 10.8 上安装 Php-intl的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我正在尝试在 xampp for mac 上安装 intl 库.我已经安装了 php 5.3,所以我只是将 intl.so 文件从 php 5.3 位置复制到 Xampp bin 文件夹.之后我取消注释 extension=intl.so 并重新启动服务器.我仍然没有在 phpinfo() 中看到 intl 更新(找不到错误类区域设置)

Hi folks i am trying to install intl library on xampp for mac. I have installed php 5.3, so i just copied intl.so file from the php 5.3 location to Xampp bin folder. After that i uncommented extension=intl.so and restarted the server. Still i dont see intl updated in the phpinfo() (Getting error Class Locale not found)

推荐答案

我刚刚在终端中运行了这个.

I just ran this in Terminal.

sudo pecl install intl

然后添加

extension=intl.so

php.ini.

这篇关于在 XAMPP for Mac Lion 10.8 上安装 Php-intl的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆