As we all know Magento 2 is released and every developers are trying to install and learn Magento 2. When you trying to install Magento 2 the most common error used to get for the first time is php extension intl missing.
How to check php intl extension enable or not?
- Open php.ini file and find “extension=php_intl.dll”
- Check the semicolon is exist before extension=php_intl.dll or not
- If yes then extension was disabled
How to enable php intl extension ?
- Open php.ini file and find “extension=php_intl.dll”
- Check the semicolon is exist before extension=php_intl.dll or not
- If yes then remove that semicolon(comment)
- Restart your server(Apache)
If disabled
1 | ;extension=php_intl.dll |
And if enabled then
1 | extension=php_intl.dll |
How to install php intl extension ?
If the extension was still installed on your server then you can install it using below command.
For Linux
1 | yum install php-intl |
For Ubuntu
1 | sudo apt-get install php5-intl |
That’s it, restart the Magento2 installation and enjoy Magento 2. If you have any queries or difficulties with the above steps and commands then feel free to add comments.
May 7, 2020 at 2:55 pm
thanx for this great article, this article help me a lot.