Special Offer: Get 25% OFF your first order! Use code: WELCOME25
RETURN TO FORUM

Setting custom upload limits for PHP applications

POSTED BY: php_architect ACTIVE_MEMBER POSTED ON: Jun 19, 2026 CATEGORY: GUIDE
I am getting 'payload too large' errors when uploading large files in WordPress. How do I increase the upload limits globally?
16 Total Upvotes

REPLIES (1)

webmaster_pro ACTIVE_MEMBER SOLUTION_ACCEPTED 2026.06.20 04:50
You can update PHP post and upload limits globally using `sudo /usr/bin/booston-core set_upload_limit 128M`. This command updates the `upload_max_filesize` and `post_max_size` in all installed PHP php.ini files and restarts php-fpm.

AUTHENTICATION REQUIRED TO JOIN THIS STREAM.

INITIALIZE LOGIN