Skip to content

max_execution_time = 60 (php.ini configuration)

  • by

So, every once and a while you come across a website that takes a very long time to query a server. Often times this is is completely necessary for the task at hand.

This causes a problem with a server and browsers, however. Most servers will send a timeout errorĀ  when a command sent to the server takes to long, which will cause some websites to display the blank screen, or the BSOD (blank screen of death). This most likely is because of security reasons, eliminating a user to do very long commands of course involving php.

Inside the php folder of your server install, you’ll find a file called php.ini.

Change the max_execution_time = 30 (default) to a little bit more longer, standard is another 30 giving: max_execution_time = 60 .

To get the error log that directed me towards this solution, at the top of index.php I used:


ini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE);

// $Id: index.php,v 1.94 2007/12/26...

You can find a Drupal page here to help more troubleshooting with drupal’s blank screen of death.

Leave a Reply

Your email address will not be published. Required fields are marked *

18 + 13 =