I have changed the upload_max_filesize to 150MB in the php.ini file.
but http://localhost/info.php shows the upload_max_filesize is still showing 16MB .
I have also restarted the server.
what is the the problem?
I am unable to find the solution.
By changing the upload_max_filesize limit in the php. ini file. By implementing file chunk upload, that splits the upload into smaller pieces an assembling these pieces when the upload is completed.
By default, PHP file upload size is set to maximum 2MB file on the server, but you can increase or decrease the maximum size of file upload using the PHP configuration file ( php. ini ), this file can be found in different locations on different Linux distributions.
Make sure that post_max_size
is larger than your upload_max_filesize
value.
This limits the overall size of the POST body, which also has a bearing on the max upload size.
You will also need to ensure that memory_limit
is larger than post_max_size
.
Also upload_max_filesize should be changed in both php.ini files.. In the Apache folder, and the PHP folder..
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With