I am having problems trying to upload "larger" files, and I believe the limit that I'm allowed is about 2MB. I've uploaded multiple filetypes below 2MB (.js, .png, .jpg, .psd, .php), however anything over about 2MB fails.
I've already changed php.ini to the following:
I've also added the following to my htaccess file in both the final directory where I'd like the file to be moved, and the initial directory where the upload form lives:
Like I mentioned, the upload is working for smaller files, so I believe it has to be a restriction on the upload size, not anything wrong with the form.
Any ideas as to where I can look next? I want the limit to be 20M, it's all on our backend with a login required to access the page, so I am not worried about rouge uploads.
Confirm that your upload_max_filesize / post_max_size is INDEED updated.
Sometimes users don't know which php.ini
file to edit.
Best way is to create file (that you delete later) and add the following code:
<?php
phpinfo();
?>
Run that file to get your system settings (search for upload_max_filesize, etc);
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