Start by logging into DirectAdmin and then navigate to Extra Features -> Select PHP-Version

KThen click on Options

then scroll to the bottom until you see max_execution_time on the left. This sets the maximum time in seconds that a script is allowed to run before terminating. Default is 30 seconds
