function names need to be unique for obvious reasons.
The (recommended) extension intl
provides the functions idn_to_ascii
and idn_to_utf8
(along with other helpful functions), as well as the pecl extension idn
(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
apt-get remove php-pecl-idn
or ( depends how this was installed )
pecl uninstall idn
or simply comment the the extension in your config
; extension=idn.so
then restartart your apache