Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

upload_max_filesize from php.ini doesn't work

Tags:

php

xampp

I want to import a database which size is 11 MB. I installed xampp local server. it was set in php.ini to 2M. I set it to upload_max_filesize=128M and also max_file_uploads=128. After that i used the phpinfo() function, which show me that is set to 128 MB, BUT in phpmyadmin it shows me 8MB and i got this message after import: You probably tried to upload a file that is too large. Please refer to documentation for a workaround for this limit.

YES, I restarted the server many times!

I tried to find and answer from another posts but with no results. Can anyone help me with this ? thx

like image 736
Maria Muresan Avatar asked Dec 10 '25 05:12

Maria Muresan


1 Answers

Also set post max size to desired value.

post_max_size=128M
like image 110
Dexa Avatar answered Dec 12 '25 18:12

Dexa



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!