I'm running xampp
and I need to upgrade ICU
(php_intl extension) to the latest version - I downloaded 54
from the ICU page but unsure how to go about upgrading it.
There is a bin
, include
and lib
folder - where do I put these files and do I have to do anything else?
To upgrade existing ICU in you XAMP installation you'll need to:
- copy php_intl.dll to your_xamp_folder/php
- copy all the icu*.dll files to your_xamp_folder/apache/bin
- check if extension=php_intl.dll is enabled in your_xamp_folder/php/php.ini
- restart Apache
Let me know if it works (i'm currently on nginx)
Edit:
It seems like this extension has been included in PHP since version 5.3.
Try upgrading PHP, or pointing to a newer version in XAMPP.
If that isn't an option, installing extensions for PHP can be found here Extensions on Windows The php.net docs seem to cover Installing INTL
It looks like you will need to point to your extension in php.ini
Hope this helps.
来源:https://stackoverflow.com/questions/28395844/update-icu-extension-within-xampp