A lot of questions asking why php complains about not finding httpd.h. Seems the solution for me was removing a space from between apache= and ../apache_x.x.x
So the correct syntax is:
./configure --with-apache=../apache_x.x.x
No space after the "="
It is probably so simple an experienced person would not think of that.