Nicky Vermeersch
Active member
It happens a lot when trying to upload attachments or images to the media gallery. I increased the following options in php:
edit: Ugh, I feel so retarded now. I forgot about nginx at all. I added client_max_body_size to the http block in nginx.conf, restarted both php-fpm and nginx and now it works fine.
- upload_max_filesize=800M
- post_max_size=800M
- max_execution_time=300
- max_input_time=300
edit: Ugh, I feel so retarded now. I forgot about nginx at all. I added client_max_body_size to the http block in nginx.conf, restarted both php-fpm and nginx and now it works fine.
Last edited: