The cPanel PHP max POST size setting controls the maximum size of HTTP POST requests that cPanel's internal PHP can process. This limit applies to cPanel's own interfaces (such as file uploads within cPanel), not to your websites. If users encounter errors when uploading files through cPanel (for example, through File Manager or cPanel-powered forms), increasing this value can resolve the issue.

Note: This setting only affects cPanel & WHM's internal PHP. To change POST or upload limits for your websites, use WHM's MultiPHP INI Editor (Home » Software » MultiPHP INI Editor) instead.

Step 1: Log in to WHM

Log in to your WHM interface as the root user.

Step 2: Open Tweak Settings

Navigate to Home » Server Configuration » Tweak Settings.

Step 3: Locate the PHP setting

Click on the PHP tab at the top of the Tweak Settings page, or use the search box to find cPanel PHP max POST size.

Step 4: Set the desired value

Enter the maximum POST size in Megabytes (MB). The accepted range is:

  • Minimum: 55 MB
  • Maximum: 2,047 MB
  • Default: 55 MB

Step 5: Save your changes

Scroll to the bottom of the page and click Save. The change takes effect immediately.

Important Notes

  • This setting updates cPanel & WHM's internal php.ini file. Do not edit that file directly, as cPanel will overwrite your changes.
  • If you need to increase upload sizes for websites hosted on the server, use the MultiPHP INI Editor to adjust post_max_size and upload_max_filesize for each PHP version.
  • The cPanel PHP max POST size should always be equal to or larger than the cPanel PHP max upload size setting to avoid unexpected upload failures within cPanel.

Troubleshooting

  • Users still can't upload large files: Make sure you are editing the correct setting. Website uploads are controlled by MultiPHP INI Editor, not Tweak Settings.
  • Setting not visible: Some server profiles hide certain settings. Ensure your server uses the Standard server profile.
Was this answer helpful? 1 Users Found This Useful (1 Votes)