Apache over head will depend on what is configured for this site host, e.g. https, htaccess checks, rewrites, etc. These things can add up. Now I don’t think that it would be too hard, but you will have time to force an answer, which, depending on the nature of the external calls, can be significant in some situations.
With that said, I see no problem making calls through apache. But I really think that since you are offering to expose php directly, it would be better. I think it is possible that reading on SOA in general can help you get an idea of what is best to implement.
source
share