Another option that I use, is to simply proxy your requests to the PHP server.
Bobby Juncosa
1

Yes, you’re right, using the proxy is also an option, but it seems like a bit of overhead to me. I was looking for a way to configure the dev environment so that PHP and static pages are served directly by Apache or IIS.

Like what you read? Give Michał Męciński a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.