Training

When: Every first Sunday of every month -get a ticket- from $15 (Click Here).

Saturday, September 1, 2018

php - Import file size limit in PHPMyAdmin - Stack Overflow

php - Import file size limit in PHPMyAdmin - Stack Overflow:



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 of your database (15M in this case), for example:



post_max_size = 25M


Next edit the entry for memory_limit and give it a larger value than the one given to post_max_size.





Then ensure the value of upload_max_filesize is smaller than post_max_size.





The order from biggest to smallest should be:



 
 memory_limit
    post_max_size
    upload_max_filesize


After saving the file, restart apache (e.g. sudo /etc/init.d/apache2 restart) and you are set.



Don't forget to Restart Apache Services for changes to be applie

No comments: