On Ubuntu 16.04 with the very popular and almost always used php [packages by Ondřej Surý|https://launchpad.net/%7Eondrej/+archive/ubuntu/php] zabbix-frontend-php wants to install wrong php packages (from wrong php version). This leadds to an unusable installation. You should change the package dependencies so that this does not happen. The Sury PPAs are like the gold standard of php development, so it is expected that any pro php software works with these packages, also it demonstrates good knowledge of the php ecosystem if some software works well with these packages and it is generally a sign of high quality if a software does not fail with these packages.
user@machine:~/tmp$ sudo apt install zabbix-frontend-php
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
php-bcmath php-ldap php-mysql php7.2-bcmath php7.2-common php7.2-ldap php7.2-mysql ttf-dejavu-core
The following NEW packages will be installed:
php-bcmath php-ldap php-mysql php7.2-bcmath php7.2-common php7.2-ldap php7.2-mysql ttf-dejavu-core zabbix-frontend-php
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 3.239 kB of archives.
After this operation, 23,9 MB of additional disk space will be used.
Do you want to continue? [Y/n] n