OK. I finally got it figured out. I was using php4.0.4pl1, so that's what I'll use in the example
Download the source rpm (www.rpmfind.net
First, do
shell> rpm -e --no-deps php-4.0.4pl1-9
then
shell> rpm -ivvh php-4.0.4pl1-9.src.rpm
edit /usr/src/redhat/SPECS/php.spec
change --without-mysql to -with-mysql=/[DIR]
shell> rpm -bb /usr/src/redhat/SPECS/php.spec
restart apache, and you should be good to go.
As a forewarning, finding rpms for RedHat 7.x is a pain in the rear. If anyone has any leads, let me know?
-j