How do I share a PHP 5.4 server between OS X and VMWare?

Posted by Ben on Super User See other posts from Super User or by Ben
Published on 2013-06-27T10:15:33Z Indexed on 2013/06/27 10:23 UTC
Read the original article Hit count: 219

Filed under:
|
|

I'm running PHP 5.4 on OS X which allows me to set up a virtual server for any directory, using this Terminal command:

php -S localhost:8000

This will then set up http://localhost:8000 which works great, but what I would like to do is share this server with the instance of Windows that I have running through VMWare in order to test in Internet Explorer. I was wondering if this is possible and if it is, how do I go about setting it up? Currently trying to visit http://localhost:8000 gives me 'This page cannot be displayed'.

I'd really appreciate any help that you can give me on this as I don't have much experience with virtual machines/networking. Thanks in advance.

© Super User or respective owner

Related posts about osx

Related posts about php