Jump to content

PHP timeout message?


acook

Recommended Posts

I have a page that queries a database.  Well, often the DB goes down and the script returns the standard PHP timeout error:

 

Fatal error: Maximum execution time of 60 seconds exceeded in blah on line 70

 

 

Is there any way to write a custom message into the page that will display something like:

 

I'm sorry, the database is down right now.

Link to comment
https://forums.phpfreaks.com/topic/56418-php-timeout-message/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.