SPECIAL OFFER: ENJOY 3 MONTHS OF SHOPIFY FOR $1/MONTH SPECIAL OFFER: ENJOY 3 MONTHS OF SHOPIFY FOR $1/MONTH SPECIAL OFFER: ENJOY 3 MONTHS OF SHOPIFY FOR $1/MONTH SPECIAL OFFER: ENJOY 3 MONTHS OF SHOPIFY FOR $1/MONTH SPECIAL OFFER: ENJOY 3 MONTHS OF SHOPIFY FOR $1/MONTH SPECIAL OFFER: ENJOY 3 MONTHS OF SHOPIFY FOR $1/MONTH SPECIAL OFFER: ENJOY 3 MONTHS OF SHOPIFY FOR $1/MONTH SPECIAL OFFER: ENJOY 3 MONTHS OF SHOPIFY FOR $1/MONTH SPECIAL OFFER: ENJOY 3 MONTHS OF SHOPIFY FOR $1/MONTH SPECIAL OFFER: ENJOY 3 MONTHS OF SHOPIFY FOR $1/MONTH

How To Fix PHP Fatal Error Class ‘locale’ Not Found Magento 2

When installing Magento 2 we may also encounter errors that prevent the installation from being completed. One of those errors to mention is the PHP Fatal Error Class ‘locale’ Not Found error. The error appears in versions from Magento 2.3.5 and above when using xampp. In this article, I will show you how to fix PHP Fatal Error Class ‘locale’ Not Found an error in Magento 2.

Reason

Magento 2.3.5 and higher versions require the extension “intl”. It was not enabled in the php.ini file.

Solution For Xampp, Wamp

Step 1: Open the php.ini file and find the line ;extension=php_intl.dll or ;extension=intl.

Step 2: Remove the “;” at the beginning of the line and save the file. Then restart Xampp or Wamp.

Solution For Ubuntu

Open terminal and run the commands:

sudo apt-get update -y

sudo apt-get install -y php-intl

Bellow are the instructions for fixing error PHP Fatal Error Class ‘locale’ Not Found in Magento 2. Hope you enjoy!