Sorry, I wasn't particularly clear on that (I have gotten too geeky in my advanced years 🙂 )
If the person that built the original Apache binary is available, they might yet remember.
Failing that...
"cd" to the ServerRoot directory (this is where the "conf", "conf.d" and "modules" directories live):
"ls modules"
-> see if there are a bunch of "*.so" files in there.
"vi conf/httpd.conf"
-> and look for "LoadModule" statements. Look for something like "LoadModule alias_module modules/mod_alias.so"
If both of these conditions are true then that would heavily suggest that DSO is enabled. Actually, I cannot think of a logical reason that these conditions would be true and DSO not enabled.
I apologize for my earlier note which said to look for "AddModule". I had slipped into an alternate universe for a moment.
If DSO appears to be enabled, you should be able to move onto the PHP step (assuming that you have access to the superuser account). You will need to tell the configuration script where to find apxs ("--with-apxs2=/usr/local/apache2/bin/apxs" or something like that) and where mysql is (assuming that you plan on using that as well: "--with-mysql=/usr/local/mysql").
I highly recomment one of the following two options:
1) "./configure --help > doit.sh"
-> then edit "doit.sh" to see what options are available and delete/edit as desired. This becomes your "pre-configure" script which can be referred to later. When done, it should look like the script in the second option (below) but with more options given. If you don't really understand this option, just do the next one.
2) simply create the file "vi doit.sh" and insert the lines (substituting appropriate directory names as applicable):
./configure \
--with-mysql=/usr/local/mysql \
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-config-path=/etc/php
Then you can happily rebuild PHP from scratch:
sh doit.sh (this replaces the "./configure" step in the docs)
make
make test
make install
The only thing left is the goat entrails and virgin sacrifice. 😃
--daveo