Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #1566 > unrolled thread

win xp sp3 + apache + mod_fcgi + php 5.3.6

Started bysmerf <smerf@akcesoria.home.pl>
First post2011-05-13 13:00 +0200
Last post2011-05-13 17:34 +0200
Articles 7 — 4 participants

Back to article view | Back to comp.lang.php


Contents

  win xp sp3 + apache + mod_fcgi + php 5.3.6 smerf <smerf@akcesoria.home.pl> - 2011-05-13 13:00 +0200
    Re: win xp sp3 + apache + mod_fcgi + php 5.3.6 smerf <smerf@akcesoria.home.pl> - 2011-05-13 13:06 +0200
    Re: win xp sp3 + apache + mod_fcgi + php 5.3.6 Jerry Stuckle <jstucklex@attglobal.net> - 2011-05-13 07:23 -0400
      Re: win xp sp3 + apache + mod_fcgi + php 5.3.6 smerf <smerf@akcesoria.home.pl> - 2011-05-13 13:40 +0200
        Re: win xp sp3 + apache + mod_fcgi + php 5.3.6 Jerry Stuckle <jstucklex@attglobal.net> - 2011-05-13 11:18 -0400
    Re: win xp sp3 + apache + mod_fcgi + php 5.3.6 Denis McMahon <denis.m.f.mcmahon@gmail.com> - 2011-05-13 15:23 +0000
    Re: win xp sp3 + apache + mod_fcgi + php 5.3.6 Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-05-13 17:34 +0200

#1566 — win xp sp3 + apache + mod_fcgi + php 5.3.6

Fromsmerf <smerf@akcesoria.home.pl>
Date2011-05-13 13:00 +0200
Subjectwin xp sp3 + apache + mod_fcgi + php 5.3.6
Message-ID<4dcd0f59$1@news.home.net.pl>
I have long script. When I start it through browser it is terminated after several minutes.
In apache error log :

[Fri May 13 12:39:56 2011] [warn] [client 127.0.0.1] (OS 109)The pipe has been ended.  : mod_fcgid: get overlap result error, referer: http://localhost/
[Fri May 13 12:39:56 2011] [warn] [client 127.0.0.1] (OS 109)The pipe has been ended.  : mod_fcgid: ap_pass_brigade failed in handle_request_ipc 
function, referer: http://localhost/

Apache is dedicated for VC9 32-bits from http://www.apachelounge.com/download/
Mod_fcgid.so the same.
PHP 5.3.6 VC9 nts (tried with ts also failed)

My script works well if I start it as CLI
or if I change Apache config to run PHP as ISAPI module (i this case all execution works - from browser or cli)


What is the problem - Apache, mod_fcgi, php or Windows XP 32-bit SP3 ????

[toc] | [next] | [standalone]


#1567

Fromsmerf <smerf@akcesoria.home.pl>
Date2011-05-13 13:06 +0200
Message-ID<4dcd10b6$1@news.home.net.pl>
In reply to#1566
On 2011-05-13 13:00, smerf wrote:
> I have long script. When I start it through browser it is terminated after several minutes.
> In apache error log :
>
> [Fri May 13 12:39:56 2011] [warn] [client 127.0.0.1] (OS 109)The pipe has been ended. : mod_fcgid: get overlap result error, referer: http://localhost/
> [Fri May 13 12:39:56 2011] [warn] [client 127.0.0.1] (OS 109)The pipe has been ended. : mod_fcgid: ap_pass_brigade failed in handle_request_ipc
> function, referer: http://localhost/
>
> Apache is dedicated for VC9 32-bits from http://www.apachelounge.com/download/
> Mod_fcgid.so the same.
> PHP 5.3.6 VC9 nts (tried with ts also failed)
>
> My script works well if I start it as CLI
> or if I change Apache config to run PHP as ISAPI module (i this case all execution works - from browser or cli)
>
>
> What is the problem - Apache, mod_fcgi, php or Windows XP 32-bit SP3 ????


my script parse xml files in the loop and insert data to mysql database
execution is long

[toc] | [prev] | [next] | [standalone]


#1568

FromJerry Stuckle <jstucklex@attglobal.net>
Date2011-05-13 07:23 -0400
Message-ID<iqj4bd$q7d$1@dont-email.me>
In reply to#1566
On 5/13/2011 7:00 AM, smerf wrote:
> I have long script. When I start it through browser it is terminated
> after several minutes.
> In apache error log :
>
> [Fri May 13 12:39:56 2011] [warn] [client 127.0.0.1] (OS 109)The pipe
> has been ended. : mod_fcgid: get overlap result error, referer:
> http://localhost/
> [Fri May 13 12:39:56 2011] [warn] [client 127.0.0.1] (OS 109)The pipe
> has been ended. : mod_fcgid: ap_pass_brigade failed in
> handle_request_ipc function, referer: http://localhost/
>
> Apache is dedicated for VC9 32-bits from
> http://www.apachelounge.com/download/
> Mod_fcgid.so the same.
> PHP 5.3.6 VC9 nts (tried with ts also failed)
>
> My script works well if I start it as CLI
> or if I change Apache config to run PHP as ISAPI module (i this case all
> execution works - from browser or cli)
>
>
> What is the problem - Apache, mod_fcgi, php or Windows XP 32-bit SP3 ????

Who knows?  We can't see your system and can't debug it from here. You 
need to do some debugging and figure out what's going on.

If you don't know how to debug an problem, the best place to start is 
with the error message - which, in this case, is not a PHP error message.

-- 
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[toc] | [prev] | [next] | [standalone]


#1569

Fromsmerf <smerf@akcesoria.home.pl>
Date2011-05-13 13:40 +0200
Message-ID<4dcd18cd$1@news.home.net.pl>
In reply to#1568
On 2011-05-13 13:23, Jerry Stuckle wrote:

>>
>> What is the problem - Apache, mod_fcgi, php or Windows XP 32-bit SP3 ????
>
> Who knows? We can't see your system and can't debug it from here. You need to do some debugging and figure out what's going on.
>
> If you don't know how to debug an problem, the best place to start is with the error message - which, in this case, is not a PHP error message.
>


There is no PHP error message.
After saveral minutes the script is terminated nad Internal Server Error 500 is shown.
Script is correct, php syntax too. Only one hint is apache error log:

[Fri May 13 12:39:56 2011] [warn] [client 127.0.0.1] (OS 109)The pipe has been ended. : mod_fcgid: get overlap result error, referer: http://localhost/
[Fri May 13 12:39:56 2011] [warn] [client 127.0.0.1] (OS 109)The pipe has been ended. : mod_fcgid: ap_pass_brigade failed in handle_request_ipc
function, referer: http://localhost/

[toc] | [prev] | [next] | [standalone]


#1571

FromJerry Stuckle <jstucklex@attglobal.net>
Date2011-05-13 11:18 -0400
Message-ID<iqji51$5cm$1@dont-email.me>
In reply to#1569
On 5/13/2011 7:40 AM, smerf wrote:
> On 2011-05-13 13:23, Jerry Stuckle wrote:
>
>>>
>>> What is the problem - Apache, mod_fcgi, php or Windows XP 32-bit SP3
>>> ????
>>
>> Who knows? We can't see your system and can't debug it from here. You
>> need to do some debugging and figure out what's going on.
>>
>> If you don't know how to debug an problem, the best place to start is
>> with the error message - which, in this case, is not a PHP error message.
>>
>
>
> There is no PHP error message.
> After saveral minutes the script is terminated nad Internal Server Error
> 500 is shown.
> Script is correct, php syntax too. Only one hint is apache error log:
>
> [Fri May 13 12:39:56 2011] [warn] [client 127.0.0.1] (OS 109)The pipe
> has been ended. : mod_fcgid: get overlap result error, referer:
> http://localhost/
> [Fri May 13 12:39:56 2011] [warn] [client 127.0.0.1] (OS 109)The pipe
> has been ended. : mod_fcgid: ap_pass_brigade failed in handle_request_ipc
> function, referer: http://localhost/
>

Then if there is no PHP message, why are you asking in a PHP newsgroup?

You need to start by debugging the problem where it occurs.

-- 
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[toc] | [prev] | [next] | [standalone]


#1572

FromDenis McMahon <denis.m.f.mcmahon@gmail.com>
Date2011-05-13 15:23 +0000
Message-ID<4dcd4d0c$0$19280$bed64819@gradwell.net>
In reply to#1566
On Fri, 13 May 2011 13:00:28 +0200, smerf wrote:

> What is the problem - Apache, mod_fcgi, php or Windows XP 32-bit SP3
> ????

Yes, it could be one of these. Does it fail every time? If so, you have 
some fundamental incompatibility between the software involved and the 
script, but on the information you have provided so far, I don't think 
anyone is going to be able to figure it out.

I suggest you try some logging before and after calls to your database 
functions that will show how long each database call is taking, and then 
check against any timeouts that you might have control over, but I'm only 
guessing that that might be where the problem is occurring, and probably 
have a better than 50% chance of being wrong (Psychic long distance error 
dowsing isn't a strongpoint of mine).

Rgds

Denis McMahon

[toc] | [prev] | [next] | [standalone]


#1573

FromThomas 'PointedEars' Lahn <PointedEars@web.de>
Date2011-05-13 17:34 +0200
Message-ID<3809481.G1x8qSfkrB@PointedEars.de>
In reply to#1566
smerf wrote:

> I have long script. When I start it through browser it is terminated after
> several minutes. In apache error log :
> 
> [Fri May 13 12:39:56 2011] [warn] [client 127.0.0.1] (OS 109)The pipe has
> [been ended.  : mod_fcgid: get overlap result error, referer:
> [http://localhost/
> [Fri May 13 12:39:56 2011] [warn] [client 127.0.0.1] (OS 109)The pipe has
> [been ended.  : mod_fcgid: ap_pass_brigade failed in handle_request_ipc
> function, referer: http://localhost/

Something appears to be wrong with your mod_fcgid Apache module.
 
> Apache is dedicated for VC9 32-bits from
> http://www.apachelounge.com/download/ Mod_fcgid.so the same.
> PHP 5.3.6 VC9 nts (tried with ts also failed)
> 
> My script works well if I start it as CLI
> or if I change Apache config to run PHP as ISAPI module (i this case all
> execution works - from browser or cli)

"Doctor, my arm hurts when I move it!" -- "Don't move it, then."
 
> What is the problem - Apache, mod_fcgi, php or Windows XP 32-bit SP3 ????

Yes.


PointedEars
-- 
Danny Goodman's books are out of date and teach practices that are
positively harmful for cross-browser scripting.
 -- Richard Cornford, cljs, <cife6q$253$1$8300dec7@news.demon.co.uk> (2004)

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.php


csiph-web