$[ causes segfault with mod_perl 2.0.9, apache 2.4.10

2015-05-21 Thread Kostas Chatzikokolakis
Hello, simply adding $[ to /etc/apache2/apache2.conf (or PerlPostConfigRequire a file containing $[) causes apache to segfault (trace below). Strangely this happens _only_ if mod_php is also loaded! No sane person cares about $[, but it's not uncommon to PerlPostConfigRequire some old module

Issue with Apache::DBI, startup.pl and mod_perl 2

2008-12-10 Thread Kostas Chatzikokolakis
Hello, I believe there is an issue with Apache::DBI under mod_perl 2. Apache::DBI is supposed not to cache connections created in the parent apache process, since using such a connection from multiple children simultaneously causes problems. Under MP1 the condition to avoid caching is $Apache::S

Re: Question about Apache2::ServerUtil and PerlCleanupHandler

2008-12-05 Thread Kostas Chatzikokolakis
Thanks for the quick and prompt reply guys. > $s->push_handlers as well as $s->add_config modify the server > configuration object while $r->... modify the runtime request > configuration. The server methods are intended to be used only at > startup time (up to PerlPostConfig, perhaps PerlChild

Question about Apache2::ServerUtil and PerlCleanupHandler

2008-12-05 Thread Kostas Chatzikokolakis
Hello, I'd like to ask what is the intended behaviour of Apache2::ServerUtil->server->push_handlers(PerlCleanupHandler => ...) compared to Apache2::RequestUtil->request->push_handlers(PerlCleanupHandler => ...) On my Ubuntu 8.10 (mod_perl 2.0.4, apache 2.2.9) cleanup handlers installed on $s se