[PHP] PHP timeout

2002-06-15 Thread Kim Bauters

I'm running PHP script that check for the existance of certain pages on the
web. The problem is that fopen to check for the existance of a page and this
seems to consume time. It has to check for a nuber of pages, conforming to a
certain pattern. This pattern is Ab#

What I want to do is extend the time a script is allowed to run (because I
can only check 10 pages, then need to change the code for the next pages)
but I don't seem to be able to do this. I'm using Windows 2000 and PHP is
installed on my IIS server. In the file php.ini, the 2 timeout settings are
both changed from 30 to 300, but I keep on getting an error like "CGI script
Timeout".

Can anyone help?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] PHP timeout

2002-06-15 Thread Nathan Taylor

Hmm, I haven't heard of such a thing. That's kinda weird though because just yesterday 
I modified my timeout settings for my script that parses logfiles that are several 
thousand lines long, and it worked. Did you perhaps forget to reboot the server? If 
you have my suggestion is perhaps taking a look at FoxServ, it is a very good server 
that auto configures itself on your machine with apache and the whole lot.   
www.foxserv.net   

- Original Message -
From: Kim Bauters
Sent: Saturday, June 15, 2002 5:55 AM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP timeout

I'm running PHP script that check for the existance of certain pages on the
web. The problem is that fopen to check for the existance of a page and this
seems to consume time. It has to check for a nuber of pages, conforming to a
certain pattern. This pattern is Ab#

What I want to do is extend the time a script is allowed to run (because I
can only check 10 pages, then need to change the code for the next pages)
but I don't seem to be able to do this. I'm using Windows 2000 and PHP is
installed on my IIS server. In the file php.ini, the 2 timeout settings are
both changed from 30 to 300, but I keep on getting an error like "CGI script
Timeout".

Can anyone help?



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.phpGet more from the Web.  FREE MSN 
Explorer download : http://explorer.msn.com



Re: [PHP] PHP timeout

2002-06-15 Thread Stuart Dallas

On Saturday, June 15, 2002 at 10:52:14 AM, Kim Bauters wrote:
> In the file php.ini, the 2 timeout settings are
> both changed from 30 to 300, but I keep on getting an error like "CGI script
> Timeout".

I think you'll find that's the IIS CGI timeout, not PHPs. You can find that
setting in the site properties, Home Directory tab, click on the Configuration
button, then go to the Process Options tab. At the bottom of that tab you
should have a CGI script timeout value. Try increasing that.

-- 
Stuart


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] PHP timeout

2002-06-15 Thread Kim Bauters

Hi,
indeed, it is a IIS CGI timeout. However, when I take a look at the tab you
gave me, I can only seem to find the tabs called "App Mappings", "App
Options" and "App Debugging". Is this the right place and is the tab just
missing or is there a problem on my behalf?

thx

"Stuart Dallas" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Saturday, June 15, 2002 at 10:52:14 AM, Kim Bauters wrote:
> > In the file php.ini, the 2 timeout settings are
> > both changed from 30 to 300, but I keep on getting an error like "CGI
script
> > Timeout".
>
> I think you'll find that's the IIS CGI timeout, not PHPs. You can find
that
> setting in the site properties, Home Directory tab, click on the
Configuration
> button, then go to the Process Options tab. At the bottom of that tab you
> should have a CGI script timeout value. Try increasing that.
>
> --
> Stuart
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re[2]: [PHP] PHP timeout

2002-06-15 Thread Stuart Dallas

On Saturday, June 15, 2002 at 11:43:05 AM, Kim Bauters wrote:
> indeed, it is a IIS CGI timeout. However, when I take a look at the tab you
> gave me, I can only seem to find the tabs called "App Mappings", "App
> Options" and "App Debugging". Is this the right place and is the tab just
> missing or is there a problem on my behalf?

What version of IIS are you running? It may be in a different place on your
server.

-- 
Stuart


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re[4]: [PHP] PHP timeout

2002-06-15 Thread Stuart Dallas

On Saturday, June 15, 2002 at 11:58:44 AM, Kim Bauters wrote:
> My IIS version is 5.0

Hmm, same as mine. Have a look in the master properties of the server. If it's
not there then I suggest you search the MS site for help.

-- 
Stuart


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: Re[2]: [PHP] PHP timeout

2002-06-15 Thread Kim Bauters

hi,
My IIS version is 5.0

"Stuart Dallas" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Saturday, June 15, 2002 at 11:43:05 AM, Kim Bauters wrote:
> > indeed, it is a IIS CGI timeout. However, when I take a look at the tab
you
> > gave me, I can only seem to find the tabs called "App Mappings", "App
> > Options" and "App Debugging". Is this the right place and is the tab
just
> > missing or is there a problem on my behalf?
>
> What version of IIS are you running? It may be in a different place on
your
> server.
>
> --
> Stuart
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php