CPanel: Script timed out before returning headers: index.php

C

How Can We Help?

CPanel: Script timed out before returning headers: index.php

Script timed out before returning headers: index.php is sometimes caused by a badly written script, or the script took to long to execute.

To solve this problem on a CPanel server you have to slightly increase the TimeOutdirective using Web Host Manager “WHM”.

To do this visit WHM > Apache Configuration > Global Configuration

Search for TimeOut and slightly increase it’s value in seconds. If the error still exist, slightly increase this value until the problem is resolved. Once fixed, try to re-look at your script.

About the author

Ian Carnaghan

I am a software developer and online educator who likes to keep up with all the latest in technology. I also manage cloud infrastructure, continuous monitoring, DevOps processes, security, and continuous integration and deployment.

About Author

Ian Carnaghan

I am a software developer and online educator who likes to keep up with all the latest in technology. I also manage cloud infrastructure, continuous monitoring, DevOps processes, security, and continuous integration and deployment.

Follow Me