intl extension php_intl.dll with wamp

前端 未结 4 1136
伪装坚强ぢ
伪装坚强ぢ 2020-11-29 07:35

I want to use Moodle, but I get an error during the installation process:

php_extension->intl->should be installed and enabled for best results.

4条回答
  •  天命终不由人
    2020-11-29 08:13

    I had the same problem a few days ago.

    You have to copy all the files (all files starts with icu*):

    icudt.dll
    icudt46.dll
    icuin.dll
    icuin46.dll
    icuio.dll
    icuio46.dll
    icule.dll
    icule46.dll
    iculx.dll
    iculx46.dll
    icutest.dll
    icutest46.dll
    icutu.dll
    icutu46.dll
    icuuc.dll
    icuuc46.dll
    

    From:

    /bin/php/php5.4.3/
    

    To:

    /bin/apache/apache2.2.22/bin/
    

    And you also need to enable intl in php.ini file (uncomment this line):

    ;extension=php_intl.dll
    

    And restart the server. It should works fine.

    Of course, you need to replace the folder names with your own.

提交回复
热议问题