This guide explains how to change common PHP settings for your website in cPanel.
PHP settings can affect upload limits, memory limits, execution time, and other website behaviour.
Log in to cPanel through your WebhostingNZ client area.
If you are unsure how to access cPanel, please follow this guide first:
How to access cPanel from the Client Area
In cPanel, open Select PHP Version.
This is usually located under the Software section.
Click the Options tab.
This will show the PHP settings available for your account.
You may see options such as:
memory_limitupload_max_filesizepost_max_sizemax_execution_timemax_input_varsdisplay_errorsThe exact options available may vary depending on the server and PHP version.
Click the value you want to change and select or enter the new value.
For example, if a WordPress theme or plugin requires a higher upload limit, you may need to increase:
upload_max_filesizepost_max_sizeIf a WordPress plugin or large import is timing out, you may need to increase:
max_execution_timememory_limitOnly increase PHP limits where needed.
Very high limits may not improve performance and can sometimes cause other issues.
Some settings may be limited by the hosting plan or server configuration.
If you are changing PHP settings because of a website error, please contact support and include: