-1

My website qaskLive sometimes has show 500 internal server error problems : Request Timeout This request takes too long to process, it is timed out by the server. If it should not be timed out, please contact administrator of this web site to increase 'Connection Timeout'. My question how to stop it permanently?

TylerH
  • 20,799
  • 66
  • 75
  • 101
Mani Mow
  • 1
  • 1

1 Answers1

0

You can increase the max execution time and also the memory limit in your php.ini:

ini_set('memory_limit','16M'); // set it to higher number if you want
ini_set('max_execution_time', 300); // set it to higher number if you want

For reference, you can aslo check this SO post: change partially memory_limit and max_execution_time Description of core php.ini directives


Regards to your question:

My question how to stop it permanently?

This depends on your server resources because 'Connection Timeout' happens when your website is using more than the allocated amount of resources set by your web host provider specifically the memory limit when you're on a Shared Hosting server.

I hope that you find this information useful!

cnavar
  • 133
  • 5