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 ;)

  • 2
    Such a simple solution for a problem that has been driving me nuts for months! Works great, thanks! – sundanlotion Jul 2 '17 at 15:44
  • You're welcome! Happy to help ;) – Guillaume Le Mière Jul 2 '17 at 16:17
  • Working for me too :) – Gurpreet Singh Dec 4 '17 at 5:54
  • 1
    omg finally!!! after one year i found the sslution – Francesco Jan 11 '18 at 21:04
  • you're a hero, thumbs up man! – Maroun Melhem Feb 22 '18 at 13:05

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.