Upload_max_filesize from php.ini not working
I want to import an 11MB database. I have installed a local xampp server. it was set in php.ini before 2M. I installed it in upload_max_filesize=128M
as well max_file_uploads=128
. After that I used the phpinfo () function , which shows me that it is set to 128 MB, but in phpmyadmin it shows me 8 MB and I got this message after importing: You were probably trying to upload a file too large. Please refer to the documentation for a workaround for this limitation.
YES, I have restarted the server many times!
I tried to find and answer from other posts but with no results. Can anyone help me with this? thank
Also set the post max value to the desired value.
post_max_size=128M
Click the MySQL configuration button (see picture below), then click my.ini
and change: myisam_sort_buffer_size = 8M
to myisam_sort_buffer_size = 1888M
.
Increase your size M
according to your own and then click.