[Special Summer Sale] 40% OFF All Magento 2 Themes

Cart

how can I enable PHP Extension intl?

  • This topic is empty.
Viewing 15 posts - 1 through 15 (of 24 total)
  • Author
    Posts
  • #9194
    David Hoang
    Keymaster

    I am going to install Magento2 at my local server and it gives me following error notice.

    error at PHP extension intl

    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.

    Missing MSVCP110.dll

    Any help?

    #9217
    David Hoang
    Keymaster

    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.

    #9214
    David Hoang
    Keymaster

    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.
    #9205
    David Hoang
    Keymaster

    I was having same kind of problem with ldap, intl, curl php extensions. I’ve solved those issues by the following ways:

    At first you’ve to check whether these extensions have been enabled in the php.ini file by removing semicolon (;) in front of the following lines:

    ;extension=php_intl.dll
    ;extension=php_ldap.dll
    ;extension=php_curl.dll
    

    Secondly, libeay32.dll, ibssh2.dll and ssleay32.dll files have to be loaded by php properly to function those extensions properly. These dll files are required by several php extensions (ie curl, ldap, intl etc). These files generally reside in the php installation directory [for my case it is C:\php directory].
    Additionally, for intl extension to be enabled you’re gonna need some other dll files to be loaded by php properly. The name of these files begin with icu (ie icudt57.dll icuin57.dll etc for php version 5.6). You’ll also find these files in the php main installation directory.

    There is a alternate way you can load these files from your httpd.conf (apache configuratio file) file instead of copying them to the apache’s bin directory. This can be done by using the following technique:

    Please note that my php version is 5.5.

    LoadFile  "C:/php/icudt51.dll"
    LoadFile  "C:/php/icuin51.dll"
    LoadFile  "C:/php/icuio51.dll"
    LoadFile  "C:/php/icule51.dll"
    LoadFile  "C:/php/iculx51.dll"
    LoadFile  "C:/php/icutest51.dll"
    LoadFile  "C:/php/icutu51.dll"
    LoadFile  "C:/php/icuuc51.dll"
    
    LoadFile  "C:/php/libeay32.dll"
    LoadFile  "C:/php/libssh2.dll"
    LoadFile  "C:/php/ssleay32.dll"
    
     That's it.
    
    #9198
    David Hoang
    Keymaster

    Here is all command lines to install magento2

    PHP Extension xsl and intl. CMD

    sudo apt-get install php5-intl
    sudo apt-get install php5-xsl
    sudo php5enmod xsl
    sudo service apache2 restart
    

    PHP Extension mcrypt. CMD

    sudo updatedb 
    locate mcrypt.ini
    sudo php5enmod mcrypt
    sudo service apache2 restart
    
    #9204
    David Hoang
    Keymaster

    Use phpinfo() function to find php.ini file path,
    open php.ini file. Here search extension=php_intl.dll then remove semi-colon (;) beginning of that line.

    After removing semi-colon (;) restart you webserver (apache).

    #9212
    David Hoang
    Keymaster

    I have seen the screen shoot, the issue you are having is missing msvcp110.dll , this file you can download from

    https://www.dll-files.com/msvcp110.dll.html

    and upload to C:/Windows folder

    than after edit php.ini from XAMPP

    Change

    ;extension=php_intl.dll
    

    to

    extension=php_intl.dll
    

    Save the file and restart Apache from XAMPP

    #9195
    David Hoang
    Keymaster

    i had this prob but solved !
    enable the extension=php_intl.dll
    now if you restart XAMPP this error will popup “msvcp110.dll is missing form your computer”

    for solving this error: download this file from : https://www.dll-files.com/msvcp110.dll.html
    then put this file to C:windows and then restart xampp it will works.

    #9208
    David Hoang
    Keymaster

    Simply copy all icu****.dll files from

    C:\xampp\php

    to

    C:\xampp\apache\bin

    [or]

    C:\wamp\bin\php\php5.5.12

    to

    C:\wamp\bin\apache\apache2.4.9

    intl extension will start working!!!

    #9201
    David Hoang
    Keymaster

    For enable PHP Extension intl , follow the Steps..

    1. Open the xampp/php/php.ini file in any editor.
    2. Search ";extension=php_intl.dll"
    3. kindly remove the starting semicolon ( ; )

    Like : ;extension=php_intl.dll -> extension=php_intl.dll

    1. Save the xampp/php/php.ini file.
    2. Restart your xampp/wamp

    Hope its work..Cheers..

    #9206
    David Hoang
    Keymaster

    I have found two errors during the installing of Magento to localhost.
    There are PHP Extension xsl and intl and I have solved the issue by following steps.

    1. Open php.ini
    2. Remove ‘#’ cha from the lines extension=php_xsl.dll and extension=php_intl.dll.
    3. Save the file and restart xamp again
    4. Click Try Again on Magento installation page.

    Then all the things were passed as well as following picture.

    Solving php extension error for php_xsl and php_intl

    #9196
    David Hoang
    Keymaster

    For instalation of magento on local host you need to uncomment the extension=php_intl.dll in php.ini and copy all icudt57.dll,icuin57.dll,icuio57.dll,icule57.dll,iculx57.dll,icuuc57.dll files from php folder to XAMPP\apache\bin folder.

    Then Restart the xamp server

    #9211
    David Hoang
    Keymaster

    For Megento Installation you Need to

    1. Stop Apache Service
    2. uncomment the extension=php_intl.dll in php.ini file.
    3. copy all 6 files icudt57.dll,icuin57.dll,icuio57.dll,icule57.dll,iculx57.dll,icuuc57.dll From php folder to apache\bin
      Now Restart you apache service
    #9215
    David Hoang
    Keymaster

    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 in case of php 8.1

    sudo apt-get install php8.1-intl
    

    And restart your apache after

    sudo service apache2 restart
    

    And restart your nginx after

    sudo systemctl restart nginx
    

    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.

    #9210
    David Hoang
    Keymaster

    All you need to do is go to php.ini in your xampp folder (xampp\php\php.ini) and remove ; from ;extension=php_intl.dll

    ;extension=php_intl.dll

    TO

    extension=php_intl.dll

Viewing 15 posts - 1 through 15 (of 24 total)
  • You must be logged in to reply to this topic.