how can I enable PHP Extension intl?
I am going to install Magento2 at my local server and it gives me following error notice.
I am using XAMPP. When I tried to enable it from php.ini file it throws another error for missing dll:
The program can't start because MSVCP110.dll is missing from your computer. Try reinstalling the program to fix this problem.
Any help?
First of all stop the xampp/wamp and then kindly remove the starting semicolon ( ; ) from your xampp/php/php.ini the following code.
;extension=php_intl.dll
And then restart your xampp/wamp.
I wrote this post if anyone come across this question for PrestaShop, I don't know if it will work for Magento2. I solved enabling PHP extension intl for the PrestaShop installation by:
- Open XAMPP Control Pane.
- Stop the Apache server if it was started.
- Then from Config button click on PHP (php.ini) item.
- Php.ini will open in Notepad (or a default text editor), click Ctrl + F and search for ;extension=intl and remove the semicolon.
- Then save and close Notepad and re-start the Apache server.
These steps for me solved the issue.
Note (2): I'm using XAMPP v3.2.3 and PrestaShop v1.7.5.1
If you are using ubuntu you can take update
sudo apt-get update
And install extension in case of php 5.6
sudo apt-get install php5.6-intl
And in case of php 7.0
sudo apt-get install php7.0-intl
And restart your apache after
sudo service apache2 restart
If you are using xampp then remove semicolon ( ; ) in xampp/php/php.ini from below line
;extension=php_intl.dll
And then restart your xampp.
I was also having the same issue, and just now i got it solved. Please try the bellow steps to get it solved:
- Open php.ini and remove semicolon (;) from
;extension=php_intl.dll
- When you try to restart the apache it will through some errors, that might be because of some .dll files. Simply copy all the icu****.dll files
From
Xampp folder/php
To
Xampp folder/apache/bin
- Still i was getting msvcp110.dll file missing error. I have downloaded this missing file from Here and put that in desired location
For windows 7 32 bit it is - C:\Windows\System32
- Now Start Apache and it is working fine.