I'm working on compiling PHP3 as a module into the Apache 1.3 sources.
I've used the setup script included with php3, answering mostly
defaults, really only configuring it be compiled as a module, and
pointing it to the apache source. php compiles cleanly. In compiling
apache, i've used the old 'make' technique, and not the new APACI
method. After copying src/Configuration.tmpl to src/Configuration, i
added the following line:
however, during apache's compile, it starts working on php:
cp libmodphp3.a libphp3.a
ar r libphp3.a mod_php3.o
and eventually exits with:
modules.o(.data+0x48): undefined reference to 'modphp3_module'
modules.o(.data+0x98): undefined reference to 'modphp3_module'
make: *** [target_static] Error 1
has anyone encountered this before? i've read the documentation included
with php3, but am still a little unclear as to what file i should be
pointing apache to in it's configuration file. gcc is at version
220.127.116.11, and i'm running a Red Hat distribution of linux, kernel version
2.0.34. if i can provide any more specific information, let me know. any
info would help a lot!