Put this near the top of your PHP script:

set_time_limit(0);

The expected value is integer seconds. A value of 0 disables the time
limit altogether.

On Mon, Jan 18, 2010 at 4:25 PM, mind01 <mindproduction...@gmail.com> wrote:
> Hi there,
>
> I have a PHP script called zip.php to generate a zip file. This
> requires more than 30 seconds so my server give me an server error 500
> time-out. Can i avoid this 500 error with JQuery and AJAX heartbeat?
>
> Greetz
>

Reply via email to