The post_max_size value limits how much data a form can send to your website at once. Raise it if large uploads or imports fail.
You can modify PHP post_max_size as per your needs using CloudLinux PHP Selector in cPanel.
1. Log in to your cPanel account.
2. In the Software section, click on Select PHP Version.
![]()
3. Click on the Options menu.

Note: If the Options page shows an error related to the native PHP version, change it to a non-native version first.
4. Look for post_max_size and click on the drop-down option displayed in front of it. Then choose the appropriate limit as per your requirements.

Choose a sensible value
Set it equal to or larger than upload_max_filesize. A value that is too small makes big form submissions fail.
If the Options page shows an error
Switch to a non-native PHP version first, then open Options again. Save your change and reload your website to test it.
Frequently asked questions
Will this change affect my whole account? It applies to the PHP version and domain you are editing in Select PHP Version.
How do I know the value is too high? Very high values can use more server resources. Raise it in small steps until your script works.
Related guides
Need cPanel hosting in Kenya? See KickHost hosting plans or contact our team.
Found this useful? Share it.
