Zabbix Frontend fails install with PHP7.0 due to always_populate_raw_post_data configuration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zabbix (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Xenial |
Fix Released
|
High
|
Nish Aravamudan |
Bug Description
[Impact]
* The zabbix web frontend has one incompatibility and some missing dependencies with PHP7.0.
* End-users are unable to use the web-frontend due to these issues.
[Test Case]
* Install zabbix-
[Regression Potential]
* The code change is identical to the upstream change; given that the frontend won't load with the code as-is, I believe there is no regression potential there.
* The dependency changes allow for the web frontend to work properly without extra packages needing to be manually installed by end-users. Again, no chance for regression.
---
always_
In PHP 7.0, which Ubuntu 16.04 LTS ships with, always_
The solution is to apply the following patch to the PHP frontend code to ignore PHP 7.0:
--- /usr/share/
+++ /usr/share/
@@ -72,7 +72,7 @@
}
// check for deprecated PHP 5.6.0 option 'always_
- if (version_
+ if (version_
}
Changed in zabbix (Ubuntu): | |
assignee: | nobody → Nish Aravamudan (nacc) |
Changed in zabbix (Ubuntu): | |
importance: | Undecided → High |
tags: | added: php7 |
Changed in zabbix (Ubuntu Xenial): | |
importance: | Undecided → High |
Changed in zabbix (Ubuntu): | |
assignee: | Nish Aravamudan (nacc) → nobody |
Changed in zabbix (Ubuntu Xenial): | |
assignee: | nobody → Nish Aravamudan (nacc) |
status: | Confirmed → In Progress |
description: | updated |
The attachment "Ignore removed flag always_ populate_ raw_post_ data for versions of PHP > 7.0" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]