I have 13mb file I want to upload, I've increased the php.ini
file to 100MB but Magento upload page still giving me the warning to make sure the file is less than 8MB.
is it possible to upload the CSV product file more than 8MB?
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityProbably you changed in a wrong file or you didn't restart your services to load the change.
Run this command below to check the upload limits.
php -i | grep upload
post_max_size = 32M
Sets max size of post data allowed. This setting also affects file upload. To upload large files, this value must be larger than upload_max_filesize. Generally speaking, memory_limit should be larger than post_max_size.
https://www.php.net/manual/en/ini.core.php#ini.post-max-size
As you said you already change the value php.ini file and i am considering you restart apache or nginx then you can consider those point (i am not sure)
Find your php.ini file, for mine it is in /etc/php/7.0/apache2/php.ini
.
change the value of below line as per your interest
upload_max_filesize = 3M
After that restart your mysql and apache server, load the page again the changes get affect
Also increase the execution time, it is help to avoid time out issue.
And get more information check this link :-
Magento 2: Import CSV File Size
And Second PHP official Link :-
https://www.php.net/manual/en/ini.core.php#ini.post-max-size
THANKS.