What is the maximum execution time for PHP scripts? KB Team Updated November 22, 2020 22:51 The maximum execution time of PHP scripts in shared hosting is: 120 seconds. Related articles How to change the password of my Linux hosting account (cPanel)? How to change PHP version, settings and extensions from cPanel? How to bypass the error "Timeout" when executing a PHP script? How to create a Web Disk account in cPanel? How to configure SMTP authentication in PHP?