I've a problem that is probably not new one. But I can't move
further on without your advise.
Win32 platform, XP Pro
I've compiled FastCGI Perl 0.66 and installed it. I wrote a
simple FastCGI test file that is (c:/usr/bin/perl - is the right
path to my Perl)
test.fpl
#!/usr/bin/perl -w
use strict;
use CGI qw
standard :html3);
use CGI::Fast qw
standard :html3);
use CGI::Carp qw/fatalsToBrowser/;
print header;
that runs smoothly by Perl, using FastCGI.
I all so have Apache 1.3.22
Apache/1.3.22 (Win32) mod_fastcgi/2.2.12 PHP/4.2.0 running...
I configured it to run with FastCGI dll that I had not compiled
but downloaded from by adding the following lines in
httpd.conf:
LoadModule fastcgi_module mods/mod_fastcgi-2.2.12.dll
# (mod_fastcgi-2.2.12.dll is in C:/Apache/mods/)
AddModule mod_fastcgi.c
# in
<IfModule mod_mime.c>
AddType application/x-httpd-fcgi .fcg .fcgi .fpl
AddHandler fastcgi-script .fcg .fcgi .fpl
</IfModule>
And everything would have finished well if I've not typed
Apache showed me 500 Server Error and
I found in log file the following messages:
[Thu Dec 05 15:13:09 2002] [error] [client 127.0.0.1] (109)The pipe has been ended: FastCGI: comm with sever "c:/ap
ache/htdocs/ru/test.fpl" aborted: PeekNamedPipe() failed
[Thu Dec 05 15:13:14 2002] [warn] FastCGI: (dynamic) server "c:/apache/htdocs/ru/test.fpl" restarted (pid 2628)
[Thu Dec 05 15:13:14 2002] [warn] FastCGI: (dynamic) server "c:/apache/htdocs/ru/test.fpl" (pid 2628) terminated wi
th exit with status '0'
[Thu Dec 05 15:13:19 2002] [warn] FastCGI: (dynamic) server "c:/apache/htdocs/ru/test.fpl" restarted (pid 4076)
[Thu Dec 05 15:13:19 2002] [warn] FastCGI: (dynamic) server "c:/apache/htdocs/ru/test.fpl" (pid 4076) terminated wi
th exit with status '0'
[Thu Dec 05 15:13:24 2002] [warn] FastCGI: (dynamic) server "c:/apache/htdocs/ru/test.fpl" restarted (pid 1768)
[Thu Dec 05 15:13:25 2002] [warn] FastCGI: (dynamic) server "c:/apache/htdocs/ru/test.fpl" (pid 1768) terminated wi
th exit with status '0'
[Thu Dec 05 15:13:29 2002] [warn] FastCGI: (dynamic) server "c:/apache/htdocs/ru/test.fpl" restarted (pid 2364)
[Thu Dec 05 15:13:29 2002] [warn] FastCGI: (dynamic) server "c:/apache/htdocs/ru/test.fpl" (pid 2364) terminated wi
th exit with status '0'
[Thu Dec 05 15:13:34 2002] [warn] FastCGI: (dynamic) server "c:/apache/htdocs/ru/test.fpl" restarted (pid 2212)
[Thu Dec 05 15:13:35 2002] [warn] FastCGI: (dynamic) server "c:/apache/htdocs/ru/test.fpl" (pid 2212) terminated wi
th exit with status '0'
[Thu Dec 05 15:13:39 2002] [warn] FastCGI: (dynamic) server "c:/apache/htdocs/ru/test.fpl" restarted (pid 900)
[Thu Dec 05 15:13:39 2002] [warn] FastCGI: (dynamic) server "c:/apache/htdocs/ru/test.fpl" (pid 900) terminated wit
h exit with status '0'
[Thu Dec 05 15:13:44 2002] [warn] FastCGI: (dynamic) server "c:/apache/htdocs/ru/test.fpl" restarted (pid 1264)
[Thu Dec 05 15:13:44 2002] [warn] FastCGI: (dynamic) server "c:/apache/htdocs/ru/test.fpl" (pid 1264) terminated wi
th exit with status '0'
[Thu Dec 05 15:13:49 2002] [warn] FastCGI: (dynamic) server "c:/apache/htdocs/ru/test.fpl" restarted (pid 3732)
[Thu Dec 05 15:13:50 2002] [warn] FastCGI: (dynamic) server "c:/apache/htdocs/ru/test.fpl" (pid 3732) terminated wi
th exit with status '0'
[Thu Dec 05 15:13:52 2002] [notice] FastCGI: process manager initialized
And
[Thu Dec 05 15:13:49 2002] [warn] FastCGI: (dynamic) server "c:/apache/htdocs/ru/test.fpl" restarted (pid 3732)
...
strings wouldn't even end showing till I have not restarted Apache and
FastCGI correspondently.
Is there any solution? All none fastcgi scripts are working smoothly.
further on without your advise.
Win32 platform, XP Pro
I've compiled FastCGI Perl 0.66 and installed it. I wrote a
simple FastCGI test file that is (c:/usr/bin/perl - is the right
path to my Perl)
test.fpl
#!/usr/bin/perl -w
use strict;
use CGI qw
use CGI::Fast qw
use CGI::Carp qw/fatalsToBrowser/;
print header;
that runs smoothly by Perl, using FastCGI.
I all so have Apache 1.3.22
Apache/1.3.22 (Win32) mod_fastcgi/2.2.12 PHP/4.2.0 running...
I configured it to run with FastCGI dll that I had not compiled
but downloaded from by adding the following lines in
httpd.conf:
LoadModule fastcgi_module mods/mod_fastcgi-2.2.12.dll
# (mod_fastcgi-2.2.12.dll is in C:/Apache/mods/)
AddModule mod_fastcgi.c
# in
<IfModule mod_mime.c>
AddType application/x-httpd-fcgi .fcg .fcgi .fpl
AddHandler fastcgi-script .fcg .fcgi .fpl
</IfModule>
And everything would have finished well if I've not typed
Apache showed me 500 Server Error and
I found in log file the following messages:
[Thu Dec 05 15:13:09 2002] [error] [client 127.0.0.1] (109)The pipe has been ended: FastCGI: comm with sever "c:/ap
ache/htdocs/ru/test.fpl" aborted: PeekNamedPipe() failed
[Thu Dec 05 15:13:14 2002] [warn] FastCGI: (dynamic) server "c:/apache/htdocs/ru/test.fpl" restarted (pid 2628)
[Thu Dec 05 15:13:14 2002] [warn] FastCGI: (dynamic) server "c:/apache/htdocs/ru/test.fpl" (pid 2628) terminated wi
th exit with status '0'
[Thu Dec 05 15:13:19 2002] [warn] FastCGI: (dynamic) server "c:/apache/htdocs/ru/test.fpl" restarted (pid 4076)
[Thu Dec 05 15:13:19 2002] [warn] FastCGI: (dynamic) server "c:/apache/htdocs/ru/test.fpl" (pid 4076) terminated wi
th exit with status '0'
[Thu Dec 05 15:13:24 2002] [warn] FastCGI: (dynamic) server "c:/apache/htdocs/ru/test.fpl" restarted (pid 1768)
[Thu Dec 05 15:13:25 2002] [warn] FastCGI: (dynamic) server "c:/apache/htdocs/ru/test.fpl" (pid 1768) terminated wi
th exit with status '0'
[Thu Dec 05 15:13:29 2002] [warn] FastCGI: (dynamic) server "c:/apache/htdocs/ru/test.fpl" restarted (pid 2364)
[Thu Dec 05 15:13:29 2002] [warn] FastCGI: (dynamic) server "c:/apache/htdocs/ru/test.fpl" (pid 2364) terminated wi
th exit with status '0'
[Thu Dec 05 15:13:34 2002] [warn] FastCGI: (dynamic) server "c:/apache/htdocs/ru/test.fpl" restarted (pid 2212)
[Thu Dec 05 15:13:35 2002] [warn] FastCGI: (dynamic) server "c:/apache/htdocs/ru/test.fpl" (pid 2212) terminated wi
th exit with status '0'
[Thu Dec 05 15:13:39 2002] [warn] FastCGI: (dynamic) server "c:/apache/htdocs/ru/test.fpl" restarted (pid 900)
[Thu Dec 05 15:13:39 2002] [warn] FastCGI: (dynamic) server "c:/apache/htdocs/ru/test.fpl" (pid 900) terminated wit
h exit with status '0'
[Thu Dec 05 15:13:44 2002] [warn] FastCGI: (dynamic) server "c:/apache/htdocs/ru/test.fpl" restarted (pid 1264)
[Thu Dec 05 15:13:44 2002] [warn] FastCGI: (dynamic) server "c:/apache/htdocs/ru/test.fpl" (pid 1264) terminated wi
th exit with status '0'
[Thu Dec 05 15:13:49 2002] [warn] FastCGI: (dynamic) server "c:/apache/htdocs/ru/test.fpl" restarted (pid 3732)
[Thu Dec 05 15:13:50 2002] [warn] FastCGI: (dynamic) server "c:/apache/htdocs/ru/test.fpl" (pid 3732) terminated wi
th exit with status '0'
[Thu Dec 05 15:13:52 2002] [notice] FastCGI: process manager initialized
And
[Thu Dec 05 15:13:49 2002] [warn] FastCGI: (dynamic) server "c:/apache/htdocs/ru/test.fpl" restarted (pid 3732)
...
strings wouldn't even end showing till I have not restarted Apache and
FastCGI correspondently.
Is there any solution? All none fastcgi scripts are working smoothly.