我正在尝试在PHP 7.2.13版上使用idn_to_ascii(),但正在接收:
Uncaught Error: Call to undefined function idn_to_ascii()
我没有安装PECL intl扩展名,但是根据top user contributed note on the documentation,我不需要它:
"...if you have >=5.4 you will not require the PECL extensions. "
用户注错了吗?如果没有,那我在做什么错?
您可能需要激活“ intl” php模块。
您可以通过检查“ intl”模块并保存,通过Apache MultiPHP配置来完成。