Change PHP upload size (upload_max_filesize)

I will show you how to change the upload size limit in PHP.

Change upload size

Those using jp17 or later servers (those who applied after 2017/12/05)

You can set PHP for each domain.

STEP 1: Log in to cPanel.

Log in to cPanel.

STEP 2: Click Software > MultiPHP INI Editor.

PUP001.png

STEP 3: Select Basic Mode and select a domain.

2021-10-21_12h38_50.png

STEP 4: Change the value of upload_max_filesize and click Apply.

PUP003.png

*If you cannot upload even after changing upload_max_filesize, please change post_max_size as well.

If you are using a server before jp16

You can set PHP for each account.

STEP1: Log in to cPanel.

Log in to cPanel.

STEP 2: Click Software > Select PHP Version.

PUP004.png

STEP 3: Click the Options tab to display PHP options.

2021-10-21_12h52_53.png

STEP 4: Find the upload_max_filesize item, click the capacity (2M, etc.) to the right of it, and select the capacity you want to set.

PUP006.png

This completes the upload size change.
Please note that if you change the PHP version, you will need to set it up again.

*If you cannot upload even after changing upload_max_filesize, please change post_max_size as well.

Was this article helpful?
5 out of 17 found this helpful