{"id":108,"date":"2020-02-17T18:05:00","date_gmt":"2020-02-17T18:05:00","guid":{"rendered":"https:\/\/molecularsciences.org\/content\/?p=108"},"modified":"2024-02-02T17:19:58","modified_gmt":"2024-02-02T22:19:58","slug":"how-can-i-change-the-filesize-limit-for-imported-files-in-phpmyadmin","status":"publish","type":"post","link":"https:\/\/molecularsciences.org\/content\/how-can-i-change-the-filesize-limit-for-imported-files-in-phpmyadmin\/","title":{"rendered":"How can I change the filesize limit for imported files in PhpMyAdmin"},"content":{"rendered":"\n<p>The filesize limit is not defined in PhpMyAdmin. The limit is taken from php.ini file. To change this limit, you needed to edit your php.ini file:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ locate php.ini\n$ cd \/etc\/php5\/apache2\/\n$ sudo cp php.ini php.ini.original  \n$ sudo vi php.ini<\/code><\/pre>\n\n\n\n<p>Change the following two variables in the php.ini file:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>upload_max_filesize = 50M\npost_max_size = 200M<\/code><\/pre>\n\n\n\n<p>This would allow file uploads of 50 megabytes. You need to restart apache before these changes can take place. On Ubuntu, the command is<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo \/etc\/init.d\/apache2\/restart<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>The filesize limit is not defined in PhpMyAdmin. The limit is taken from php.ini file. To change this limit, you needed to edit your php.ini file: Change the following two variables in the php.ini file: This would allow file uploads of 50 megabytes. You need to restart apache before these changes can take place. On [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34,23],"tags":[14,35,24],"class_list":["post-108","post","type-post","status-publish","format-standard","hentry","category-linux","category-php","tag-database","tag-linux","tag-php"],"_links":{"self":[{"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/posts\/108","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/comments?post=108"}],"version-history":[{"count":1,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/posts\/108\/revisions"}],"predecessor-version":[{"id":109,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/posts\/108\/revisions\/109"}],"wp:attachment":[{"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/media?parent=108"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/categories?post=108"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/tags?post=108"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}