Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > Pro PHP
|
Pro PHP Advanced PHP coding discussions. Beginning-level questions will be redirected to the Beginning PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 1st, 2003, 12:20 AM
Registered User
 
Join Date: Oct 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to fix "CGI timeout"

I need to calculate and restore the bulk of data. It took more than 3 hours. So "CGI timeout" error displayed. And then I changed the max_execution_time,max_input_time,memory_limit in php.ini and connect timeout and session timeout in IIS. But it doesn't work.

Could you tell me how to fix it or specail skill in PHP programming?

thank you,

Michael



 
Old October 1st, 2003, 12:46 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 836
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have to ask -- what the heck are you doing that takes 3 hours to process?

If you're running a script that takes that long, you should run it from the commandline where you aren't restricted by any webserver timeouts. You can set the commandline script timeout to zero (never times out).


Take care,

Nik
http://www.bigaction.org/





Similar Threads
Thread Thread Starter Forum Replies Last Post
help! on CGI Error heerajee Pro PHP 0 February 2nd, 2006 05:17 AM
HELP: Perl CGI + Java marina Perl 1 January 23rd, 2006 07:41 AM
CGI Timeout EricS Beginning PHP 3 January 24th, 2005 01:50 AM
PHP5 CGI or CLI? freddo Beginning PHP 2 August 15th, 2004 07:20 PM
The specified CGI application misbehaved by not re rmccon BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 1 June 22nd, 2003 12:50 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.