How to change PHP setting using .user.ini and restarting PHP
You are able to make changes to some PHP settings via a
.user.ini file. This file doesn't exist by default - you will need to create it within the
html folder of the relevant site.
- Create the file in your sites docroot folder (
- Add the required PHP settings and click Save.If you don't enter and contents and click Save no file will be created.
- In order for your PHP settings to take effect you'll need to restart PHP within your account.
This can be achieved from the Dashboard by visiting Settings > Tools and clicking the Restart PHP button.
- You can confirm the current PHP settings - to ensure you're changes have taken effect by creating a phpinfo file.
Some default settings
max_input_vars = 1000
memory_limit = 256M
post_max_size = 100M
upload_max_filesize = 100M