As you might know, the default setting of php.ini is keep all files under 2MB, and nothing larger than 32MB. However, if you want to use mysql database with a method called "PDO_MySQL" (use this is you want to connect MySQL database in your PHP script), you need your file an be larger than that because most database are now using large dataset. If you want to increase the limit on how big your file is before it gets truncated, so it can handle a larger dataset, here's what you do;