hmmm,
Linux i assume ?
./configure --with-apxs=/path/to apxs
with this rule php will compile as apache module byt apache hast to be compiled with dso support
./configure --enable-shared=max --enable-module=most
you can also just write "enable-module=so"
now php will compile as an apache module
you should get a "libphp4.so" file
did you ?
cheers
Erik