Magento Fixes Php 5.6 Compatibility

There’s been a long standing issue with Magento, or more specifically the Zend version it ships with, not supporting the latest version of PHP - v5.6

The issue is in a couple of places where it calls a now deprecated function iconv_set_encoding('internal_encoding', 'UTF-8'); in lib/Zend/Validate/Hostname.php

With PHP 5.5 having gone out of support, leaving PHP 5.6 being the only 5.x version currently supported, this has become a pressing issue.

Fortunately Magento has finally addressed this with a change in changing the code in question to use the valid ini_set('default_charset', 'UTF-8'); function call.

More details can be found at this Magento community post

Tags: magentophpphp56