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.

up vote 11 down vote accepted

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

On line 864 : change break 2; by break;

Source : github

Worked for me ;)

  • 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
  • omg finally!!! after one year i found the sslution – Francesco Jan 11 at 21:04
  • you're a hero, thumbs up man! – Marounm Feb 22 at 13:05

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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