File tree Expand file tree Collapse file tree 2 files changed +62
-2
lines changed
Expand file tree Collapse file tree 2 files changed +62
-2
lines changed Original file line number Diff line number Diff line change 11a (nearly) complete rewrite is underway for mod_perl-2.0
22
3- the module is not usable yet
3+ the module is not usable yet, at least not the way 1.xx is
44
55what you see here is just a start on the new build/glue infrastructure
66
77more detailed design docs, etc. will follow along with updates here
88and on the list
99
10- -dougm 04/12
10+ if you want to try building with an interpreter pool, you'll need Perl
11+ 5.6.0 with patches/perl_no_get_context.pat applied and Perl built like
12+ so:
13+
14+ % ./Configure -des -Dusethreads -Accflags=-DPERL_NO_GET_CONTEXT
15+
16+ mod_perl-2.0 will still work with an out-of-the-box Perl, but will
17+ only be useful if your mpm is prefork (which is much like 1.3.x)
18+
19+ in either case, in this directory run:
20+
21+ % perl Makefile.PL -c -ma
22+
23+ % cd ../apache-2.0/src
24+ % ./configure --prefix=$HOME/apache-2.0 --with-mpm=mpmt_pthread
25+ % patch -p1 < ../modperl-2.0/patches/link-hack.pat
26+ % make
27+
28+ as for httpd.conf, mine looks something like so at the moment:
29+
30+ #same as using the MOD_PERL_TRACE environment variable
31+
32+ PerlTrace all
33+
34+ #only with -Dusethreads
35+ PerlInterpStart 3
36+ PerlInterpMax 4
37+
38+ #PerlRequire/PerlModule/etc will return, in the meantime, this
39+ #directive passes arbitrary command line switches to perl
40+
41+ PerlSwitches -T /home/dougm/test/startup.pl
42+
43+ --dougm 04/17
Original file line number Diff line number Diff line change @@ -17,3 +17,30 @@ diff -u -u -r1.3 program.mk
1717 $(PROGRAM_NAME): $(PROGRAM_DEPENDENCIES) $(PROGRAM_OBJECTS)
1818- $(LINK) $(PROGRAM_LDFLAGS) $(PROGRAM_OBJECTS) $(PROGRAM_LDADD)
1919+ $(LINK) $(PROGRAM_LDFLAGS) $(PROGRAM_OBJECTS) $(PROGRAM_LDADD) $(MP_LDADD)
20+
21+ --- src/modules.c~ Wed Apr 12 20:00:23 2000
22+ +++ src/modules.c Wed Apr 12 20:10:16 2000
23+ @@ -26,6 +26,7 @@
24+ extern module auth_module;
25+ extern module setenvif_module;
26+ extern module echo_module;
27+ +extern module perl_module;
28+
29+ /*
30+ * Modules which implicitly form the
31+ @@ -54,6 +55,7 @@
32+ &auth_module,
33+ &setenvif_module,
34+ &echo_module,
35+ + &perl_module,
36+ NULL
37+ };
38+
39+ @@ -84,6 +86,7 @@
40+ &auth_module,
41+ &setenvif_module,
42+ &echo_module,
43+ + &perl_module,
44+ NULL
45+ };
46+
You can’t perform that action at this time.
0 commit comments