You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs-cvs@perl.apache.org by st...@apache.org on 2004/10/02 16:43:43 UTC
cvs commit: modperl-docs/src/docs/1.0/guide troubleshooting.pod
stas 2004/10/02 07:43:43
Modified: src/docs/1.0/guide troubleshooting.pod
Log:
print() doesn't send anything on Mac OS X
Submitted by: Charlie Garrison <ga...@zeta.org.au>
Revision Changes Path
1.30 +16 -0 modperl-docs/src/docs/1.0/guide/troubleshooting.pod
Index: troubleshooting.pod
===================================================================
RCS file: /home/cvs/modperl-docs/src/docs/1.0/guide/troubleshooting.pod,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -u -r1.29 -r1.30
--- troubleshooting.pod 12 Sep 2004 19:14:44 -0000 1.29
+++ troubleshooting.pod 2 Oct 2004 14:43:43 -0000 1.30
@@ -429,6 +429,22 @@
=head1 Runtime
+
+
+
+
+=head2 print() doesn't send anything on Mac OS X
+
+On certain Mac OS X builds mod_perl doesn't seem to able to print()
+anything to the client. That's because C<STDOUT> is not tied to the
+C<Apache> module. Most likely some core module on Mac OS X
+untie's/re-tie's C<STDOUT> after mod_perl had it tied. The workaround
+is to add:
+
+ PerlHeaderParserHandler "sub { tie *STDOUT, 'Apache' unless tied *STDOUT; }"
+
+
+
=head2 "exit signal Segmentation fault (11)" with mysql
If you build mod_perl and mod_php in the same binary, you might get
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-cvs-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-cvs-help@perl.apache.org
Re: cvs commit: modperl-docs/src/docs/1.0/guide troubleshooting.pod
Posted by Stas Bekman <st...@stason.org>.
Geoffrey Young wrote:
>> + PerlHeaderParserHandler "sub { tie *STDOUT, 'Apache' unless tied *STDOUT; }"
>
>
> mod_perl itself doesn't do this until after fixups are run, so perhaps using
> a PerlFixupHandler is a bit better?
I can't reproduce that problem, so I don't know what's the best approach.
Just copied something that was reported as working on the modperl list.
--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org
Re: cvs commit: modperl-docs/src/docs/1.0/guide troubleshooting.pod
Posted by Geoffrey Young <ge...@modperlcookbook.org>.
> + PerlHeaderParserHandler "sub { tie *STDOUT, 'Apache' unless tied *STDOUT; }"
mod_perl itself doesn't do this until after fixups are run, so perhaps using
a PerlFixupHandler is a bit better?
--Geoff
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org