futureweb
Regular Pleskian
Hey there,
I just activated PHP 7.2 on one of our Plesk Onyx Servers (Centos 6.9) and noticed a big Problem.
should normally be no problem ... just change Variant to supported INTL_IDNA_VARIANT_UTS46 ...
But not with Plesk compiled PHP ... ;-)
Seems like the INTL EXT is compiled against a REALLY, REALLY OLD ICU?
intl / icu on Plesk Server:

intl / icu on one of my Centos 7 Servers with PHP from IUS Rep:

I guess I don't need to mention what Problems this brings ... when old Variant is deprecated and throwing Errors but the new replacement isn't available because the Ext is compiled against and old ICU ... ;-)
Hope you gonna fix that ASAP ... (deliver updated ICU Package with Plesk?)
thx, bye from sunny Austria
Andreas Schnederle-Wagner
ps) Bug Report: INTL EXT compiled against old ICU
I just activated PHP 7.2 on one of our Plesk Onyx Servers (Centos 6.9) and noticed a big Problem.
Code:
mod_fcgid: stderr: PHP Deprecated: idn_to_ascii(): INTL_IDNA_VARIANT_2003 is deprecated
should normally be no problem ... just change Variant to supported INTL_IDNA_VARIANT_UTS46 ...
Code:
$email = idn_to_ascii("österreich.at"); //DEPRECATED
$email1 = idn_to_ascii("österreich.at", 0, INTL_IDNA_VARIANT_UTS46); //NORMALLY OK SINCE PHP 5.x ...
But not with Plesk compiled PHP ... ;-)
Code:
mod_fcgid: stderr: PHP Warning: Use of undefined constant INTL_IDNA_VARIANT_UTS46 - assumed 'INTL_IDNA_VARIANT_UTS46'
Seems like the INTL EXT is compiled against a REALLY, REALLY OLD ICU?
intl / icu on Plesk Server:

intl / icu on one of my Centos 7 Servers with PHP from IUS Rep:

I guess I don't need to mention what Problems this brings ... when old Variant is deprecated and throwing Errors but the new replacement isn't available because the Ext is compiled against and old ICU ... ;-)
Hope you gonna fix that ASAP ... (deliver updated ICU Package with Plesk?)
thx, bye from sunny Austria
Andreas Schnederle-Wagner
ps) Bug Report: INTL EXT compiled against old ICU
Attachments
Last edited: