I installed everything separately (Apache, PHP, MySQL and phpMyAdmin) and do not use a compilation, everything works fine till now except phpMyAdmin.
The problem I
Installing bzip2 and zip PHP extensions solved my issue in Ubuntu:
bzip2
zip
sudo apt-get install php7.0-bz2 sudo apt-get install php7.0-zip
Use php(you version)-(extension) to install and enable any missing modules that is required in the phpmyadmin readme.
php(you version)-(extension)