PHP Execution Time Limit with Siteground. Dynamic Timeout a solution?

Hey folks, thanks for having me here.
I’ve chose Siteground as a hoster a while ago. Now i’d like to create a new bricks site and in the System Information tab everything looks fine apart from the PHP execution time limit. It is hardlocked to 120.
I contacted Siteground and they told me to put this into my .htaccess file:

<IfModule mod_substitute.c>
 SubstituteMaxLineLength 10M
 LimitRequestBody 99999999999
 </IfModule>
 <IfModule mod_dtimeout.c>
 <Files ~ ".php">
 SetEnvIf Request_URI "[index.php](http://index.php)" DynamicTimeout=300
 SetEnvIf Request_URI "[themes.php](http://themes.php)" DynamicTimeout=300
 SetEnvIf Request_URI "wp-admin" DynamicTimeout=300
 </Files>
 </IfModule>

Is this a good solution? I dont want to build a site on an unstable base.
Any other Siteground user here that solved it?

Thanks for reading, have a nice day!

1 Like