Red Hat Bugzilla – Bug 983096
Zabbix WEB doesn't work due to deprecated mysql_connect()
Last modified: 2013-10-14 13:20:08 EDT
Description of problem:
After upgrading from F18 to F19 Zabbix WEB UI (MySQL) stopped to work correctly by rising an error:
mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead [include/db.inc.php:77]
This bug is already filed at Zabbix JIRA: https://support.zabbix.com/browse/ZBX-6020
The problem is caused by PHP 5.5 which deprecates MySQL library and force to use MySQLi.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Make sure you have Zabbix WEB UI on F18 running
2. Upgrade from F18 to F19
3. Open Zabbix WEB UI
Option display_errors is set to Off but the error is being shown anyway.
Created attachment 771618 [details]
Zabbix 2.0.6 error on F19/PHP5.5
Created attachment 771620 [details]
Zabbix 2.0.6 error on F19/PHP5.5 (Screens section)
AFAICS db.inc.patch seems to get zabbix up-and-running on my F19 machine (after some manual labour to fix logger and pid issues).
This should be looked at faster. It's not only warning message, but that message totally breaks all graphs display. Zabbix is unusable on F19 at this point.
Let's see if we get a response on Monday. I'll include db.inc.patch otherwise.
Zabbix 2.0.8 with a fix is out. Can someone repack RPM to include the latest version?
zabbix-2.0.8-3.fc19 has been submitted as an update for Fedora 19.
zabbix-2.0.8-3.fc20 has been submitted as an update for Fedora 20.
zabbix-2.0.8-3.fc18 has been submitted as an update for Fedora 18.
(In reply to Vilius Šumskas from comment #8)
> Bi-weekly ping?
Sorry it took so long! The situation wasn't very clear from the upstream side at first and maintaining zabbix and zabbix20 in 7 places is a hell lot of work. I'd be happy to have a co-maintainer.
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing zabbix-2.0.8-3.fc20'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
Looks OK on testing.
zabbix-2.0.8-3.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
zabbix-2.0.8-3.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
zabbix-2.0.8-3.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.