Call to undefined function transliterator_transliterate () in php 5.512 using wampserver 2.5

2

I'm studying SQLITE3 and PHP and checking an example of the PHP Manual appeared the following error:

Fatal error: Call to undefined function transliterator_transliterate()

Example: link

I installed PEAR in Wamp but the error continues to appear.

Intl and sqlit3 extensions are enabled in php.ini

Thank you.

    
asked by anonymous 16.10.2015 / 03:09

1 answer

1

The transliterator_transliterate() method belongs to the Transliterator class, which is part of the extension intl . To enable it, open php.ini, search for the line, remove ; , and restart apache.

;extension=php_intl.dll

For sqllite3 extension, uncomment this line

;extension=php_sqlite3.dll
    
16.10.2015 / 03:18