PHP Variables - Max Execution Time

# PHP Variables - Max Execution Time

[](https://support.nimbushosting.co.uk/support/solutions/folders/36000224376)

This sets the maximum time in seconds a script is allowed to run before it is terminated by the parser which helps prevent scripts from tying up the server. The default setting is 30 and setting a different max\_execution\_time can help if you're seeing a fatal error on your site when trying to install/update a plugin or maybe upload a file.

To change this PHP variable first log in to the Platform and select the website for the dashboard and then select either Upgrade PHP Version or PHP & Databases from the site menu.

![](https://internal.kesisis.com/article_attachments/9592797265053/886cceb9f8fa6c80ef9667924db62b22.png)

Scroll down to PHP Configuration and select Add Variable and type max\_execution\_time in the first box and our suggestion for the value is 1800. Click Update Configuration to save the changes.

![](https://internal.kesisis.com/article_attachments/9592797265053/48f21454350be3fa299924a2a7b42633.png)