INTL_IDNA_VARIANT_2003 is deprecated

Operating System & Version
CENTOS 6.10
cPanel & WHM Version
v86.0.18

Ramon Pego

Active Member
Mar 12, 2019
32
7
8
Brazil
cPanel Access Level
Root Administrator
Hello I am facing problems with uploading files on my systems.

PHP:
idn_to_ascii (): INTL_IDNA_VARIANT_2003 is deprecated
It seems that this problem is a problem with php in version 7.2, unless I'm mistaken, but mine is in version 7.3
Even with the update that happened a little while with version 7.4 the error persists
I don't know why it started happening today Monday
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,252
313
Houston
It sounds like this is deprecated, meaning no longer available, in order to use it you'd need to use a version of PHP it was compatible with. I'd assume that'd be PHP 7.1

You can read about the deprecation here: PHP: Deprecated features in PHP 7.2.x - Manual

INTL_IDNA_VARIANT_2003 variant
The Intl extension has deprecated the INTL_IDNA_VARIANT_2003 variant, which is currently being used as the default for idn_to_ascii() and idn_to_utf8(). PHP 7.4 will see these defaults changed to INTL_IDNA_VARIANT_UTS46, and the next major version of PHP will remove INTL_IDNA_VARIANT_2003 altogether.