[ZBX-8525] mbstring.internal_encoding notice for PHP 5.6 RC Created: 2014 Jul 25  Updated: 2017 May 30  Resolved: 2014 Jul 25

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.3.3
Fix Version/s: None

Type: Incident report Priority: Trivial
Reporter: Pavels Jelisejevs (Inactive) Assignee: Unassigned
Resolution: Won't fix Votes: 0
Labels: frontend, php
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by ZBX-8527 include/classes/class.cjson.php : Use... Closed
is duplicated by ZBX-8726 Warning messages with PHP 5.6 in fron... Closed

 Description   

When running the frontend on PHP 5.6.0RC2, the following error appears: "ini_set(): Use of mbstring.internal_encoding is deprecated"



 Comments   
Comment by Pavels Jelisejevs (Inactive) [ 2014 Jul 25 ]

This is a follow up to ZBX-8278.

Comment by Andrejs Čirkovs (Inactive) [ 2014 Jul 25 ]

This is due to PHP release nature: even PHP5.6RC999999 will be considered less than 5.6 (see http://php.net/manual/en/function.version-compare.php note 2). Generally, it's prohibited to use RC version on production, and the only workaround to be to comment version check in the code manually until php5.6 is released (lines 26-29 file locales.php on current trunk).

Generated at Fri Apr 26 20:51:41 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.