Jump to content

php script timeout (500 error)


jk11uk

Recommended Posts

Hi

 

I have a script which uses delays (so you can guess what it does  ;) ). however, when i use more than a certain amount of data it gets a 500 error. my hosting company have increased the max script time to 5 minutes in the php.ini file, but it doesn't make a difference.

 

Anyone know whats going on?

Link to comment
https://forums.phpfreaks.com/topic/152359-php-script-timeout-500-error/
Share on other sites

this might be caused by other params than the timeout...

in the php.ini file:

 

max_execution_time

max_input_time

memory_limit     

 

I believe you can set all of these with ini_set();

 

as you say there is quite some data...

you might want to check the memory_limit

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.