[英]Phpmyadmin Export Dbase getting error on PHP7 Nginx
I am unable to export dbase from PhpMyadmin, on PHP7 and Nginx server. 我无法从PHP7和Nginx服务器上的PhpMyadmin导出dbase。
The /var/log/nginx/error.log
says /var/log/nginx/error.log
说
18 FastCGI sent in stderr: "PHP message: PHP Fatal error: Cannot 'break' 2 levels in /usr/share/phpmyadmin/export.php on line 864
18在stderr中发送的FastCGI:“PHP消息:PHP致命错误:在864行的/usr/share/phpmyadmin/export.php中无法'破解'2级
I have already tried sudo apt install php7.0-mbstring
and sudo service nginx restart
but still not working. 我已经尝试过
sudo apt install php7.0-mbstring
和sudo service nginx restart
但仍然无法正常工作。
Go to /usr/share/phpmyadmin/export.php .Replace "break 2;" 转到/usr/share/phpmyadmin/export.php。更换“break 2;” with "break;".
与“休息”。 Then restart apache.Problem will be solved.
然后重启apache.Problem将解决。
I faced the same problem after upgrading to PHP 7. 升级到PHP 7后我遇到了同样的问题。
Upgrading PhpMyAdmin to the last version fixed the issue. 将PhpMyAdmin升级到最新版本修复了该问题。
I just got this issue. 我刚刚遇到这个问题。 Just open your export.php file and replace break 2 by break .
只要打开你的export.php文件,并通过休息 休息更换2。 That solved my problem.
这解决了我的问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.