Import file size limit in PHPMyAdmin

Find the file called: php.ini on your server and follow below steps With apache2 and php5 installed you need to make three changes in the php.ini file. First open the file for editing, e.g.: sudo gedit /etc/php5/apache2/php.ini OR sudo gedit /etc/php/7.0/apache2/php.ini Next, search for the post_max_size entry, and enter a larger number than the size … Read more

phpmyadmin – count(): Parameter must be an array or an object that implements Countable

Edit file /usr/share/phpmyadmin/libraries/sql.lib.php using this command: sudo nano +613 /usr/share/phpmyadmin/libraries/sql.lib.php On line 613 the count function always evaluates to true since there is no closing parenthesis after $analyzed_sql_results[‘select_expr’]. Making the below replacements resolves this, then you will need to delete the last closing parenthesis on line 614, as it’s now an extra parenthesis. Replace: ((empty($analyzed_sql_results[‘select_expr’])) … Read more