Drupal Module Install Timeout Fix

Posted by george

Writing the install for a drupal caused a major problem. Every time it ran - it timed out and I experienced the "white screen". My development machine was clearly under-powered but as the install script had to process and insert over 6000 rows into the database as part of the module install - I needed to understand the issue and get a fix. The solution was to allow the scripts to run longer.

1. Change in PHP.ini - I set max_execution_time = 300

2. Add this line to .htaccess php_value max_execution_time 300

This did the trick!


Tags: