Maximum execution time exceeded while upgrading network on multisite local install [closed]

You network upgrade is taking too long to execute. You could mitigate the error by extending the execution time limit:

  1. Increase max_execution_time in php.ini
  2. Set max_execution_time in script to a higher number ini_set('max_execution_time', 300);
  3. Temporarily add this line in index.php set_time_limit(0);