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

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

In this post we will give you information about 500 error on phpmyadmin export on /phpmyadmin/export.php. Hear we will give you detail about 500 error on phpmyadmin export on /phpmyadmin/export.phpAnd how to use it also give you demo for it if it is necessary.

In this post, I will let you know the solution of exporting database from phpmyadmin.

This error occurs when you have updated your PHP version, phpmyadmin donot allow to export database file and shows following error :

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

After lots of searching, I got a solution, go with the Apache error log file :

PHP Fatal error: Cannot ‘break’ 2 levels in /usr/share/phpmyadmin/export.php on line 864

So go to the “/usr/share/phpmyadmin/export.php” file and change break 2; by break;.

If you are running on Ubuntu server, you can run following command to edit the export.php file :

sudo nano /usr/share/phpmyadmin/export.php

Search for ” (! $export_plugin->exportDBFooter($db)) {” and change the “break 2” by “break”.

Now restart apache and mysql and it should fix the issue.

sudo service apache2 restart

sudo service mysql restart

Try this..

Label :



How To


Web Development


Hope this code and post will helped you for implement 500 error on phpmyadmin export on /phpmyadmin/export.php. if you need any help or any feedback give it in comment section or you have good idea about this post you can give it comment section. Your comment will help us for help you more and improve us. we will give you this type of more interesting post in featured also so, For more interesting post and code Keep reading our blogs

For More Info See :: laravel And github

Leave a Comment

Your email address will not be published. Required fields are marked *

  +  85  =  86

We're accepting well-written guest posts and this is a great opportunity to collaborate : Contact US