HostingPHPSpanish version

Support article

PHP Intl Extension: Internationalization for Your Website

If your website needs to display dates, currencies, and formats from different countries, the Intl extension is what you need. Learn what it does, why it's required by PrestaShop, and how to enable it in DirectAdmin.

Published: 30/06/2026Updated: 30/06/2026

If you’re setting up an online store or a website that needs to display dates, currencies, and formats from different countries, you’ll have come across the Intl extension.

At miHosting.com, this tool is available on all of our servers. It’s simply a smart translator that allows your website to speak each visitor’s local language, adapting details as important as currency symbols or the order of days in the calendar.


🛠️ What is the Intl extension actually for?

The internationalization extension (Intl) is a module that allows your PHP scripts to perform complex regional formatting tasks automatically. Instead of you programming how a date looks in Spain compared to one in the United States, Intl does it for you following global standards (ICU).

Here I detail its most useful functions in simple terms:

  • Number and Currency Formatting: Displays prices correctly depending on the country (for example, the use of periods or commas for decimals: 1.000,00 € vs 1,000.00 $).
  • Text Comparison (Collator): Sorts lists alphabetically while respecting the special characters of each language (such as the ñ in Spanish).
  • Dates and Times: Automatically adapts the time and date format according to the user’s location.
  • Text Normalization: Ensures that all characters on your website display correctly under the Unicode standard, preventing strange visual errors.

🚀 How to enable Intl on your miHosting account

If your website tells you this module is missing, enabling it in our DirectAdmin panel is very easy:

  1. Log in to DirectAdmin: Sign in with your user credentials.
  2. Go to the PHP Selector: In the main menu, look for the Select PHP Version option.
  3. Find the extension: On the Extensions tab, look for the checkbox called intl in the list (it’s in alphabetical order).
  4. Enable it: Check the box. The system will save the change automatically and you’ll see a confirmation message ✅.

💡 Expert tip

If you’re installing PrestaShop, the Intl extension is a mandatory requirement. Without it, the installation will stop. If you’ve already enabled it and the installer doesn’t detect it, make sure you’re editing the correct PHP version that your main domain is using.


📌 Don’t forget

  • Function: Adapts currencies, dates, and formats to the user’s language and region.
  • Availability: Available on all miHosting.com plans.
  • Activation: Enabled with a single click from the PHP selector in DirectAdmin.
  • Common use: Indispensable for online stores and multilingual sites.

For more advanced technical details, you can always consult the official PHP documentation.