[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: |
|
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 |
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). |