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

Ramon Pego

Well-Known Member
Mar 12, 2019
62
11
8
Brazil
cPanel Access Level
Root Administrator
Twitter
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 II
Staff member
Nov 14, 2017
13,266
1,304
363
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.