Title: Problem with filesize / upload
Last modified: August 6, 2025

---

# Problem with filesize / upload

 *  Resolved [cipra](https://wordpress.org/support/users/cipra/)
 * (@cipra)
 * [10 months ago](https://wordpress.org/support/topic/problem-with-filesize-upload/)
 * Hi! So I created a form with the possibility to upload media files. But when 
   uploading, there is the message “increase post_max_size and upload_max_filesize
   to 4.7683715820312M” – even though the images (I tried with a few) are much smaller
   than the default 5 MB. The picture was then not uploaded.
 * What I already tried:
   – I set the “Upload File Size Limit” in the form to 10 
   or more MB. Only the number in the message changed.– In the WordPress settings(
   php.ini, functions.php) the upload_max_filesize / post_max_size / max_execution_time/
   memory_limit are already set to a high number; but that is not the problem anyway–
   upload of bigger files worked with another plugin.
 * I need help please!
   Caroline
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fproblem-with-filesize-upload%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Support [aacesc](https://wordpress.org/support/users/aacesc/)
 * (@aacesc)
 * [10 months ago](https://wordpress.org/support/topic/problem-with-filesize-upload/#post-18587597)
 * Hello [@cipra](https://wordpress.org/support/users/cipra/) 
   Thank you for writing
   to us. That number is not the static number set in our plugin itself but is pulled
   from the value that is set in the php.ini. If the website is hosted in the shared
   hosting then setting those values from functions.php might not be sufficient 
   and might be needed to be changed directly in the server’s php.ini file. Please
   check the highlighted section of the screenshot on the note of “Upload File Size
   Limit” field and set the number less than the highlighted number.[https://prnt.sc/s7bhoFKVNQ-w](https://prnt.sc/s7bhoFKVNQ-w)
   Can you please change the Upload File Size Limit to just 3 MB and let us know
   if that allows the file to be uploaded?Thanks.
 *  Thread Starter [cipra](https://wordpress.org/support/users/cipra/)
 * (@cipra)
 * [10 months ago](https://wordpress.org/support/topic/problem-with-filesize-upload/#post-18587808)
 * Hi!
   In my php.ini I have the entry “upload_max_filesize = 256M”. But something
   strange: I have no number in the note mentioned as on your screenshot, there’s
   just blank space: “_Please note that the number shouldn’t exceed . If you want
   to allow more than then please update the value in your server’s php.ini file._“
 * When I change the limit to 3MB or even 1MB there’s still the message “increase
   post_max_size and upload_max_filesize to 1M” in the browser when I try to upload
   a picture with 250kB
 *  Plugin Support [aacesc](https://wordpress.org/support/users/aacesc/)
 * (@aacesc)
 * [10 months ago](https://wordpress.org/support/topic/problem-with-filesize-upload/#post-18588967)
 * Hello [@cipra](https://wordpress.org/support/users/cipra/) 
   Thank you for your
   reply. We are using `ini_get('upload_max_filesize')` function to get the value
   of upload_max_filesize and it seems ini_get is not returning anything. This happens
   when it is disabled in the php.ini file inside disable_functions parameter. Can
   you please check if that is disabled? If yes then after enabling it, it should
   work properly.The below tutorial might help you to debug this.[https://inspector.dev/how-to-enable-disable-php-native-functions-php-ini-tutorial/](https://inspector.dev/how-to-enable-disable-php-native-functions-php-ini-tutorial/)
   Thanks.
 *  Thread Starter [cipra](https://wordpress.org/support/users/cipra/)
 * (@cipra)
 * [10 months ago](https://wordpress.org/support/topic/problem-with-filesize-upload/#post-18589158)
 * Thank you – the disable_functions parameter in the php.ini file was empty, so
   that was not the problem. But I found the cause: in my user.ini-file there were
   also upload_max_filesize and post_max_size listed. With no values, so I added
   them (same as in the php.ini) and now it works!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Problem with filesize / upload’ is closed to new replies.

 * ![](https://ps.w.org/frontend-post-submission-manager-lite/assets/icon-256x256.
   png?rev=3524154)
 * [Frontend Post Submission Manager Lite - Frontend Posting WordPress Plugin](https://wordpress.org/plugins/frontend-post-submission-manager-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/frontend-post-submission-manager-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/frontend-post-submission-manager-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/frontend-post-submission-manager-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/frontend-post-submission-manager-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/frontend-post-submission-manager-lite/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [cipra](https://wordpress.org/support/users/cipra/)
 * Last activity: [10 months ago](https://wordpress.org/support/topic/problem-with-filesize-upload/#post-18589158)
 * Status: resolved