Manage the PHP options on your hosting account
Definitions
PHP options are settings that determine how PHP behaves on your hosted websites and apps, including script run time, memory limits, and file upload size.
Before you start
✅ All PHP versions on your hosting account come with the most optimal pre-configured PHP option settings.
ℹ️ PHP option settings should only be modified as per specific technical requirements set by your website or app, and ideally alongside the guidance of a website developer.
⚠️ PHP option settings are specific to each PHP version. If you change the PHP version of your hosting account, you will have to re-apply your PHP option settings to the new PHP version.
Step by step
1. Log in to your hosting control panel
2. Click on the Select PHP version button
3. Click on the Options tab
4. In the Current PHP Version section, you’ll see the active PHP version for your hosting account, which is the version you’re viewing or changing PHP options for
5. Scroll down under the Current PHP Version section, where you’ll see all the PHP options you can edit. Hover over each option to see a popup description of what it does.
Here is a quick summary of the main PHP options and what their settings do:
- max_execution_time: Sets the maximum duration a script can run before it’s terminated.
- max_input_time: Determines how long a script can spend processing input data, like form submissions.
- max_input_vars: Specifies the maximum number of variables a script can accept, often from form submissions.
- memory_limit: Allocates the maximum amount of memory a script can use while executing.
- post_max_size: Defines the maximum size of data that can be sent via the POST method.
- upload_max_size: Sets the maximum file size allowed for uploads to your account.
6. To edit a PHP option, click the text field or dropdown next to it, enter or select a new value, and then click outside the field to save. Three blue bubbles will appear to show your changes are being saved.
7. Once a PHP option setting is modified, your changes will be saved automatically and applied immediately.