500 error on phpmyadmin export on /phpmyadmin/export.php

I'm getting a HTTP ERROR 500 when attempting to export from phpmyadmin. It only occurs after hitting the 'export' button after setting all the export settings. I'm able to do a mysqlbackup just fine, but I get an error on export.php.

I'm not really sure where to start with this, there are no errors in any log that I checked. I've uninstalled, purged and reinstalled phpmyadmin with no change. Any help would be appreciated!

I'm running php7.0 on ubuntu 14.04.


Go to /usr/share/phpmyadmin/export.php

On line 864 : change break 2; by break;

Source : github

Worked for me ;)