apache + php4 compiling

Hi, I compiled apache2.2.0 with:
./configure --prefix=/usr/local/apache --enable-so
make
make install

no problem with that, then I compiled php4.2.0 with:
./configure --prefix=/usr/local/php --with-mysql=shared,/usr/local/mysql --with-zlib
make
make install
This generated in /usr/local/php some folders (bin, lib, etc…) at bin I have a binary (php).
I have mysql5 in /usr/local/mysql
what should I configure (in apache or php) to enable php pages with mysql?

thanks!