You need the Oracle client libraries. The following example assumes
you have the Apache 1.3.0 source configured in
/usr/local/src/apache_1.3.0 and that your Oracle environment is set
up:
./configure --with-shared-apache=/usr/local/src/apache_1.3.0 \
--with-apxs --with-oracle
make regex/libregex.h
make libphp3.so
If you are using shared Oracle libraries you might want to tell the linker
where these can be found (may be necessary if your Oracle environment is not
set up when Apache loads the PHP module). You do this by setting the
environment variable LDFLAGS before running configure (still assuming your
Oracle environment is set up while compiling):