configure時に、--with-apxs2を指定。
apacheのインストールが終わっているなら、以下のように指定してしてみる。
./configure --with-apxs2=/usr/local/apache2/bin/apxs
再度make。
#make
#make install
configure終了時に表示される注意文
以下の例では、「apxs2」とするところを「apx2」としたときに表示される注意文です。
Thank you for using PHP.
Notice: Following unknown configure options were used:
--with-apx2=/usr/local/apache2/bin/apxs
Check './configure --help' for available options