Change upload_max_filesize PHP
Here is the case. I dumped my localhost database and got 7.2M file size. What? Yeah. It's true. Whereas, my phpmyadmin said if the max upload is just 2M. What the.. Using bigdump seems useless, since they are a whole databases in my localhost.So, I thought, it should be a way to change it. And here it is (I found the way) :
['How to' Section]
- To set/ customize the max file allowed size is inside php.ini
- If you could access the php.ini file, so just Open it, search for upload_max_filesize, change the value, save, exit and restart the apache. You're done.
- BUT, if you don't, just simple create a .htaccess file inside your root webserver and add/ write this line :
php_value upload_max_filesize 10M - Save, exit and done!
See ya ^_^