Install intl PHP extension for XAMPP and Magento OSX High Sierra

Deyvid Nascimento
Jul 10, 2018 · 1 min read

First —Check which php path is set i.e.

which php

If you are using xampp on your mac it should be:

/Applications/XAMPP/xamppfiles/bin/php

but if its

/usr/bin/php

you need to change your php path

PATH="/Applications/XAMPP/xamppfiles/bin:${PATH}"

Lets install with homebew

brew tap kyslik/homebrew-phpbrew install kyslik/php/php70-intl

Change php.ini

nano /Applications/XAMPP/xamppfiles/etc/php.ini

Add this line:

extension=/usr/local/Cellar/php70-intl/[your-version]/intl.so

🍺 Liked? Give me a beer
Follow: Twitter, Instagram, LinkedIN, Facebook

deyvin

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade