Magento 1.9 and PHP 5.6 – Deprecated Use of iconv.internal_encoding

magento-1.8magento-1.9php-5.6upgradezend-framework

Have the same with Magento CE 1.8 and 1.9

After update php from 5.5.16 to 5.6.0 on my VPS I got this 2 errors in [magento]/var/log/system.log:

ERR (3): Deprecated functionality: iconv_set_encoding(): Use of iconv.internal_encoding is deprecated  in [magento]/lib/Zend/Locale/Format.php on line 311
ERR (3): Deprecated functionality: iconv_set_encoding(): Use of iconv.internal_encoding is deprecated  in [magento]/lib/Zend/Locale/Format.php on line 472

I was find this info https://github.com/zendframework/zf1/pull/347
But all variations in php.ini changes not work for me (I was restarted php-fpm service after each changes in php.ini, of course).

Here https://github.com/zendframework/zf1/pull/347/files#r14075423 I read suggested changes exactly in this lines (313 and 474) but I don't want use any hacks to Magento Core files.

In frontend and backend I don't see any problems with encoding – all looks fine (I have Russian localizations – frontend and admin panel).

May I ignore this ERR in system.log or not? What the right way to correct this error?

Best Answer

I don't think you are supposed to use Magento with php 5.6 yet.
I assume there will be an official statement when Magento will support php 5.6 and an offical patch if necessary.