PHP致命错误:未捕获错误:在PHP 7.2.13上调用未定义的函数idn_to_ascii()

问题描述 投票:0回答:1

我正在尝试在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. "

用户注错了吗?如果没有,那我在做什么错?

php php-7 php-7.2
1个回答
0
投票

您可能需要激活“ intl” php模块。

您可以通过检查“ intl”模块并保存,通过Apache MultiPHP配置来完成。

© www.soinside.com 2019 - 2024. All rights reserved.