yes, i've gotten it to work. i chose to make mine as a DSO module, but i had
to do some dirty work to get it to go. :)
first i compiled apache 1.3.4 with DSO support with the '--enable-module=so'.
here is my configure script:
./configure --prefix=/usr/local/apache \
i then proceeded to install it.
then i configured php3 with the following:
./configure --with-apxs=/usr/local/apache/bin/apxs \
then for some reason the regex support is getting skipped during compile, so i
cd'ed into regex and typed 'make', then cd'ed back out and typed make again
at the main src level.
now, this last make will fail IIRC... or maybe it makes correctly but then it
bombed out when i tried to load into apache? i can't remember exactly.
so i let it fail, then i deleted the resulting libphp3.so, and did this:
ld -Bshareable -o libphp3.so mod_php3.o libmodphp3-so.a regex/libregex.a -lc -lm
-lcrypt -ldb -lgdbm -ldl -lcrypt -lnsl -lresolv
the important part to the ld statement above that i had to figure out was the
inclusion of the '-lresolv'. i think that without this, when i tried to load
into apache i'd get an error about "unresolved symbols: __dn_expand"
after the ld statement above, just copy the libphp3.so into
/usr/local/apache/libexec and then add a line like this to the top of your
httpd.conf (minus the roaming_module obviously :):
# Load DSO Modules
LoadModule roaming_module libexec/mod_roaming.so
LoadModule php3_module libexec/libphp3.so
give this a try... if nothing else, i could just give you my libphp3.so.
: Has any had any success compiling this as an Apache 1.3.4 module under
: LinuxPPC R4? I can get it to compile and install, but when I try to 'make'
: Apache, I get a bunch of errors. I have beat my head against this for a
: couple of days and am getting a wee bit frustrated.
: Thanks in advance for the help.
the SYSTEM owns you
1: a regular union of principles or parts forming one entire thing.
2: the economic/capitalistic entity that exploits *your* life.
3: that strange attractor in your perception of the world that you
have dubbed as, "they".