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 ***
*** apache-1.3.27 ***
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.