I’ve installed the intl extension via PECL on Debian Squeeze. But when I put extension=intl.so in my php.ini file and restart Apache, it loads CP to about 99% and nothing works. The only way to make the server work again is to remove the extension=intl.so line from php.ini file. Why?
Apache error log is:
[Wed Nov 28 23:09:59 2012] [notice] suEXEC mechanism enabled (wrapper:
/usr/lib/apache2/suexec) PHP Warning: Function registration failed –
duplicate name – idn_to_ascii in Unknown on line 0 PHP Warning:
Function registration failed – duplicate name – idn_to_utf8 in Unknown
on line 0 PHP Warning: idn: Unable to register functions, unable to
load in Unknown on line 0
function names need to be unique for obvious reasons.
The (recommended) extension
intlprovides the functionsidn_to_asciiandidn_to_utf8(along with other helpful functions), as well as the pecl extensionidn(source)idn is in (early) beta since 2009 and no longer developed.
How do I fix that??
What you have to do is to uninstall your idn extension
or ( depends how this was installed )
or simply comment the the extension in your config
then restartart your apache