Looks like you didn't build the support in for php. Have a look at
http://lamps.efactory.de/e-lamps-2-0.shtml for more detailed info. You can probably ignore the openssl and mod_ssl if you don't want to build that.
Here's a part of the configs I used for my php and apache builds.
*** php-4.3.2 ***
./configure \
--with-apache=../apache_1.3.27 \
--with-gettext \
--with-xml \
--with-mysql=/usr/local/mysql \
--enable-sockets \
--enable-track-vars
*** apache-1.3.27 ***
./configure \
--prefix=/usr/local/apache \
--enable-module=so \
--sbindir=/usr/sbin \
--libexecdir=/usr/libexec
Note that the path to the apache source is relative to the directories I was building in. You may want to use an absolute directory location if you've got your junk spread around.