Php-intl installation on XAMPP for Mac Lion 10.8
Asked Answered
T

2

1

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)

Tbar answered 22/8, 2013 at 21:39 Comment(0)
S
4

I just ran this in Terminal.

sudo pecl install intl

Then just add

extension=intl.so

to php.ini.

Sydney answered 28/11, 2013 at 11:15 Comment(1)
sudo: pecl: command not found i am not getting any other way to install intl extension kindly helpCrosley
S
0

For me this worked (php 7.1, MAMP, macOS Mojave):

Downloaded the intl.so file from https://github.com/skmedia/php-extensions-mamp/blob/master/php-5.4.4/intl.so and copy it to /usr/lib/php/extensions/no-debug-non-zts-20160303

Stipule answered 16/11, 2018 at 7:47 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.