Bug 542633
| Summary: | ZABBIX 1.6.6 is incompatible with php 5.3 but trunk works fine as developers said. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | RJ <ogldelphi> |
| Component: | zabbix | Assignee: | Dan Horák <dan> |
| Status: | CLOSED CANTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 12 | CC: | dan, jarod, jeff, ville.skytta |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-03-26 08:56:55 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
RJ
2009-11-30 12:24:44 UTC
FWIW, looks like 1.6.7 is out, did the developers say anything about it? Any pointers to public posts or something where the developers discussed this issue? I was able to find http://www.zabbix.com/forum/showthread.php?t=13275 Zabbix 1.8 has bee released. Could it be available as update for Fedora 12 because 1.6.6 is incompatible with php 5.3? FWIW it doesn't look like a drop-in upgrade: http://www.zabbix.com/documentation/1.8/manual/about/installation_and_upgrade https://fedoraproject.org/wiki/Package_update_guidelines But then again if 1.6.x doesn't work at all and there's no 1.6.x release or easily portable patchset that would fix it, ... I don't think that we would want to issue 1.8 as an update to F-12, however issuing an update to 1.6.8 would be good. >however issuing an update to 1.6.8 would be good.
It's good if it resolves this problem if not, this package is unusable.
Hm, possible workaround is at http://forum.cmsmadesimple.org/index.php?action=printpage;topic=36805.0 - replace get_class() function with a wrapper. (In reply to comment #7) > Hm, possible workaround is at > http://forum.cmsmadesimple.org/index.php?action=printpage;topic=36805.0 - > replace get_class() function with a wrapper. or better just wrap the buggy calls with is_object() (In reply to comment #8) > (In reply to comment #7) > > Hm, possible workaround is at > > http://forum.cmsmadesimple.org/index.php?action=printpage;topic=36805.0 - > > replace get_class() function with a wrapper. > > or better just wrap the buggy calls with is_object() and this is what 1.8 does. If the warnings above are the only issue with php 5.3 then we can easily prepare a patch and do an update. Sorry for the spam. Packages with the patch applied on top of 1.6.8 are available at http://koji.fedoraproject.org/koji/taskinfo?taskID=1864023 Please test it and report the results here, thanks. Hm, the frontend code contains multiple depreciated PHP functions, I have now a patch that should fix the get_class() warnings (sent upstream as http://www.zabbix.com/forum/showpost.php?p=55465&postcount=13). Second known category is handling of regular expressions with ereg*() functions, that's still waiting for fix. And maybe there are other issues. If you need zabbix 1.8 packages for Fedora 11 or 12, you can get it at http://fedora.danny.cz/danny/ Updating the official Fedora package to 1.8 isn't possible because there is a manual step required for updating the database and trying to update the frontend only in Fedora to be compatible with PHP 5.3 is too much work for a little benefit. |