Title: Troubleshooting Error Log &#8211; Connection Errors
Last modified: August 18, 2017

---

# Troubleshooting Error Log – Connection Errors

 *  [wyclef](https://wordpress.org/support/users/wyclef/)
 * (@wyclef)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/troubleshooting-error-log-connection-errors/)
 * Hello, I’ve got a number of WP sites all different versions having connection
   errors for 1-4 minutes at the same time every day or every other day. Looking
   for advice on how to troubleshoot it. The error is:
 * `Script timed out before returning headers: php56.cgi`
 * Thanks
    -  This topic was modified 8 years, 9 months ago by [wyclef](https://wordpress.org/support/users/wyclef/).

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/troubleshooting-error-log-connection-errors/#post-9422085)
 * Is anything mentioned in the server logs? You may find your true answer there.
 *  Thread Starter [wyclef](https://wordpress.org/support/users/wyclef/)
 * (@wyclef)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/troubleshooting-error-log-connection-errors/#post-9422103)
 * That was from the server error log.
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/troubleshooting-error-log-connection-errors/#post-9422185)
 * See if this info helps:
    [https://stackoverflow.com/questions/11225932/script-timed-out-before-returning-headers-php-fastcgi](https://stackoverflow.com/questions/11225932/script-timed-out-before-returning-headers-php-fastcgi)
 * [http://www.webhostingtalk.com/showthread.php?t=1203993](http://www.webhostingtalk.com/showthread.php?t=1203993)
 *  Thread Starter [wyclef](https://wordpress.org/support/users/wyclef/)
 * (@wyclef)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/troubleshooting-error-log-connection-errors/#post-9432163)
 * Hmmm. This is under a shared hosting account at Dreamhost. Wondering if it has
   to do with general server load or something. I don’t believe I can really access
   the php.ini settings or anything like that.
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/troubleshooting-error-log-connection-errors/#post-9432199)
 * Try discussing this issue with your hosting provider
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [8 years, 8 months ago](https://wordpress.org/support/topic/troubleshooting-error-log-connection-errors/#post-9454867)
 * `Script timed out before returning headers: php56.cgi` does literally mean the
   commands are taking too long to run (there are limits in order to prevent you
   from crashing boxes). Have you tried upgrading PHP to v7? We have it available
   on all boxes now. Go to your DreamHost Panel > Domains > Edit your domain. Sctoll
   down 🙂

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Troubleshooting Error Log – Connection Errors’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 3 participants
 * Last reply from: [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/troubleshooting-error-log-connection-errors/#post-9454867)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
