I haven't worked with Codeship, but normally this kind of challenges in CI are solved with the help of Docker (which Codeship has behind the paywall, it seems). I doubt you'll be able to juggle with actual web server otherwise on any CI platform, pretty much all of them are built with containers in mind.
So unless you want to dig into Docker right now, you have to deal with it (builtin php server, I mean).