# Compile PHP with the \`intl\` extension

**URL:** <https://community.localwp.com/t/compile-php-with-the-intl-extension/30571>\
**Category:** Completed Feature Requests\
**Created:** [March 2, 2022, 7:48pm UTC](https://community.localwp.com/t/compile-php-with-the-intl-extension/30571 "2022-03-02T19:48:12Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![austinwendt](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/austinwendt/32/13912_2.png) [@austinwendt](https://community.localwp.com/u/austinwendt)\
**Post date:** [March 2, 2022, 7:48pm UTC](https://community.localwp.com/t/compile-php-with-the-intl-extension/30571/1 "2022-03-02T19:48:12Z")

</div>

This is needed across all OS’s - MacOS, Windows, and Linux.

The PHP `intl` extension was added as a recommendation in WordPress 5.9 and now shows as an issue on the Site Health page for WordPress sites built with Local.

---

<div class="post-metadata">

**Author:** ![rbaugh](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/rbaugh/32/15400_2.png) [@rbaugh](https://community.localwp.com/u/rbaugh)\
**Post date:** [March 4, 2022, 5:11pm UTC](https://community.localwp.com/t/compile-php-with-the-intl-extension/30571/2 "2022-03-04T17:11:05Z")

</div>

We are using a plugin that requires the use of NumberFormatter but it keeps erroring out since this extension isn’t enabled on Local. Works ok when hosted, but not for dev work.

---

<div class="post-metadata">

**Author:** ![henning](https://avatars.discourse-cdn.com/v4/letter/h/ecae2f/32.png) [@henning](https://community.localwp.com/u/henning)\
**Post date:** [April 8, 2022, 12:50pm UTC](https://community.localwp.com/t/compile-php-with-the-intl-extension/30571/3 "2022-04-08T12:50:48Z")

</div>

I have been needing this since Day 1 and it has been on the table since at least December 2019 ([How do I enable php-intl on Local?](http://community.localwp.com/t/how-do-i-enable-php-intl-on-local/15858) - 3.4k views at the time of writing). IMHO, as WordPress is an internationally supported software, it is absolutely necessary to support all developer’s needs, especially one that is so prevalent.

For now, I used DevKinsta, as it provides a similar ease of use, and lets you define PHP extensions per PHP Version (wink, wink @austinwendt ) - however, I would love to see Local implement a similar solution, so I can finally condense my local dev environments into one 😘

---

<div class="post-metadata">

**Author:** ![austinwendt](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/austinwendt/32/13912_2.png) [@austinwendt](https://community.localwp.com/u/austinwendt)\
**Post date:** [April 8, 2022, 2:35pm UTC](https://community.localwp.com/t/compile-php-with-the-intl-extension/30571/4 "2022-04-08T14:35:50Z")

</div>

I agree with you! Absolutely necessary, this is related to our PHP updates that are our focus for this quarter and will be included.

I’m curious - how does that work with DevKinsta? Could you share a screenshot of how you pick/choose those extensions?

---

<div class="post-metadata">

**Author:** ![henning](https://avatars.discourse-cdn.com/v4/letter/h/ecae2f/32.png) [@henning](https://community.localwp.com/u/henning)\
**Post date:** [April 8, 2022, 3:15pm UTC](https://community.localwp.com/t/compile-php-with-the-intl-extension/30571/5 "2022-04-08T15:15:24Z")

</div>

Certainly! Here is the settings page in DevKinsta:

 ![devkinsta-settings](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/2X/f/f9d723979e4e98faa62f45907b25e438730016c2.png)

Here, you can select the PHP Version and set / unset extensions as you see fit.

DevKinsta runs on docker with the following services / containers:

 ![devkinsta-docker](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/2X/7/7504d45ef88796c04453cf4362f0003b90f7ddc4.png)

My guess is that the php-fpm container is configured based on the selected extensions.

---

<div class="post-metadata">

**Author:** ![henning](https://avatars.discourse-cdn.com/v4/letter/h/ecae2f/32.png) [@henning](https://community.localwp.com/u/henning)\
**Post date:** [April 8, 2022, 3:23pm UTC](https://community.localwp.com/t/compile-php-with-the-intl-extension/30571/6 "2022-04-08T15:23:24Z")

</div>

@austinwendt FYI: I found a related feature request, that describes the functionality that DevKinsta offers: [PHP extensions management](http://community.localwp.com/t/php-extensions-management/3618)

Maybe we can consolidate this into one FR, although their scopes are different?

---

<div class="post-metadata">

**Author:** ![austinwendt](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/austinwendt/32/13912_2.png) [@austinwendt](https://community.localwp.com/u/austinwendt)\
**Post date:** [April 8, 2022, 3:42pm UTC](https://community.localwp.com/t/compile-php-with-the-intl-extension/30571/7 "2022-04-08T15:42:34Z")

</div>

This is perfect, I appreciate it! Definitely a lot of value in giving the user more control over these values. I’d like Local to be capable of something similar… TBD on what format that takes, but it is definitely on our minds as we fix this management of 3rd party services.

---

<div class="post-metadata">

**Author:** ![austinwendt](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/austinwendt/32/13912_2.png) [@austinwendt](https://community.localwp.com/u/austinwendt)\
**Post date:** [September 22, 2022, 4:15pm UTC](https://community.localwp.com/t/compile-php-with-the-intl-extension/30571/8 "2022-09-22T16:15:53Z")

</div>

Hi all, good news - with the latest Local release (v6.4.3), Local supports the `intl` extension in all of the latest PHP versions (7.4, 8.0, 8.1)! Download the latest release and let us know how it looks, but you should be all set - [Releases - Local](https://localwp.com/releases/6.4.3/)

We’ll make sure that the `intl` extension is included in any future changes to our PHP versions as well.

---

<div class="post-metadata">

**Author:** ![austinwendt](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/austinwendt/32/13912_2.png) [@austinwendt](https://community.localwp.com/u/austinwendt)\
**Post date:** [September 24, 2022, 4:16am UTC](https://community.localwp.com/t/compile-php-with-the-intl-extension/30571/9 "2022-09-24T04:16:21Z")

</div>

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.
