NYCPHP Meetup

NYPHP.org

[nycphp-talk] Script terminates after certain amount of time period

Brian Pang bpang at bpang.com
Tue Sep 9 10:11:47 EDT 2003


maybe use this instead?
ini_set('max_execution_time', '600');

however, if you are running in safe mode, you can only change this via
php.ini

phpinfo() will tell you if you have safe mode on or off



> Chris, As i have mentioned, it is also not working at all, just "Page can
> not be displayed" after few mins. Looks like browser loose connection with
> server.
> 
> Any other ideas...?
> 
> Zala
> 
> ----- Original Message -----
> From: "Chris Shiflett" <shiflett at php.net>
> To: "NYPHP Talk" <talk at lists.nyphp.org>
> Sent: Monday, 08 September, 2003 6:38 PM
> Subject: Re: [nycphp-talk] Script terminates after certain amount of time
> period
> 
> 
> > --- Anirudh Zala <xml at aumcomputers.com> wrote:
> > > My php script generates PDF document that takes approx 2 mins to
> > > generate 1.5 MB PFD depending upon criteria, But if i choose more
> > > data and when PDF size is to be needed more than 2 MB and higher,
> > > browser says "The page cannot be displayed" after few mins, ie php
> > > scripts is terminated.
> >
> > There are two problems, I think:
> >
> > 1. Set your time limit to something big for this script.
> > <http://www.php.net/set_time_limit>
> > 2. Are you using IE? Don't.
> >
> > Hope that helps.
> >
> > Chris
> >
> > =====
> > Become a better Web developer with the HTTP Developer's Handbook
> > http://httphandbook.org/
> > _______________________________________________
> > talk mailing list
> > talk at lists.nyphp.org
> > http://lists.nyphp.org/mailman/listinfo/talk
> >
> 
> _______________________________________________
> talk mailing list
> talk at lists.nyphp.org
> http://lists.nyphp.org/mailman/listinfo/talk
> 
> 






More information about the talk mailing list