Re: max_execution_time and set_time_limit() problem.
| From: | Daniel Silva | Date: | Tue, 04 Mar 2003 20:31:06 +0000 |
| Subject: | Re: max_execution_time and set_time_limit() problem. | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-138163@lists.php.net to get a copy of this message | ||
I have a similar problem. I made a multiple file upload script and when the
size is too big, PHP seems to ignore it, even though the files are well
inside the max_upload_size...
Are you sure that you aren't actually entering an infinite-loop or
something? It seems odd...
I can't think of nothing else right now. I know it's not much, but let us
know...
Cheers,
Daniel Silva
"Eric Wood" <eric@interplas.com> wrote in message
news:010f01c2e281$4b194100$9100000a@intgrp.com...
> Even set_time_limit(0) does extend the timeout. Always a 30 second
timeout.
> Any other ideas?
>
> thanks,
> -eric wood
>
> > I'm uploading a large file through my web page and after 30 seconds, the
> > fails with an error. I bumbed the max_execution_time parameter in
> > /etc/php.ini to 600 seconds and restarted apache. Still errors at 30
> > seconds. I added set_time_limit(600); to various place in my file
upload
> > handling script... still errors at 30 seconds.
> >
> > Is this just a good 'ol bug in my Redhat 7.3 version of PHP?:
> >
> > $ rpm -q php
> > php-4.1.2-7.3.6
>