PHP will not #include <regex.h> in FC3 and later. If you file a bug against FC2 php I can probably fix it there for future updates.
(the fact that both httpd and PHP think it's a good idea to reimplement the POSIX regex interface in random different ways is an accident waiting to happen; I've fixed it in the httpd 2.1 branch but PHP is another matter)
Done: <https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=148815>
Thanks. Yeah, it looks like anyone wanting to manage Apache from PHP has to keep the code carefully separated in separate modules right now to avoid the header collision.