Question
Upload limit on wordpress stuck at 2MB
I have a one click Wordpress installation and followed the solution here and I’m still getting server error 500 when I modify php_value upload_max_filesize 128M
in .htaccess (this used to be the only way that worked)
I followed the change in virtualhosts suggested on DO here
I tried all the changes but the last filter approach here too changing maxfileupload size in
.user.ini
wp-config
/etc/php/7.4/fpm/php.ini
adding this to .htaccess (doesn’t cause error 500):
suPHP_ConfigPath ../../../etc/php/7.4/fpm/
I used to be able to change .htaccess before setting up http/2 in case that helps now my php handler is FCGI. My support post on DO didn’t fix the problem–they only suggested changing php.ini as I already did here:
; File Uploads ;
;;;;;;;;;;;;;;;;
; Whether to allow HTTP file uploads.
; http://php.net/file-uploads
file_uploads = On
; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
; http://php.net/upload-tmp-dir
;upload_tmp_dir =
; Maximum allowed size for uploaded files.
; http://php.net/upload-max-filesize
upload_max_filesize = 512M
post_max_size = 512M
memory_limit = 512M
Thanks in advance!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×