Saturday, September 28, 2013

phpmyadmin - max upload file size is not changed

phpmyadmin - max upload file size is not changed after making changes in php.ini

If you have changed upload_max_filesize & post_max_size both parameters in php.ini but still it does not show changed maximum upload file size in import section.

You have restarted apache and you have done every thing what was suggested to you but still you are unable to see increased max upload file size.

 Now you are at correct place, just follow this.

Make a file .htaccess and put following text in it.
php_value upload_max_filesize 2048M php_value post_max_size 2048M
where 2048M is your max upload file size, you can set whatever value you want.

Put this file into phpmyadmin directory.

Now restart apache and mysql and see import page of phpmyadmin. It will show the limit you have put in .htaccess file.

The path of phpmyadmin directory is /usr/share/phpmyadmin. If you are using LAMPP, the path of phpmyadmin directory is /opt/lampp/phpmyadmin

No comments:

Post a Comment