Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have CentOS release 6.5 (Final) with cPanel installed. And I need to use php-intl extension. Therefore, I installed it via pecl module installation through cPanel. I had also to install libicu via yum, otherwise pecl module compilation was failing. Now when I'm trying to use this extension in php, I'm getting the following error:

Warning: transliterator_transliterate():
Could not create transliterator with ID "NFKD; Latin; Latin/US-ASCII;
[:Nonspacing Mark:] Remove; " (transliterator_create: unable to open ICU transliterator with id "NFKD; Latin; Latin/US-ASCII;
[:Nonspacing Mark:] Remove; ": U_INVALID_ID)

How can I fix this problem?

P.S. I don't get such an error on Windows or on another CentOS, where I don't have cPanel.

UPD:

I solved this issue myself. It seems the original ICU library just didn't contain the needed transliterators. I added REMI repository (http://rpms.famillecollet.com/enterprise/6/remi/mirror) and installed libicu-last and libicu-last-devel from this repo (via yum). Then I recompiled the extension using pecl install -f intl-3.0.0.

share|improve this question

1 Answer 1

up vote 0 down vote accepted

I solved this issue myself. It seems the original ICU library just didn't contain the needed transliterators. I added REMI repository (http://rpms.famillecollet.com/enterprise/6/remi/mirror) and installed libicu-last and libicu-last-devel from this repo (via yum). Then I recompiled the extension using pecl install -f intl-3.0.0.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.