rnintulsa Posted July 17, 2008 Share Posted July 17, 2008 I am running windows on my mac thru parallels. My problem is that when I try to view my php page with the same address: http://localhost/~name/pageaddress.php I get the old Internet Explorer cannot display the webpage. Can anyone tell me why I am getting this in IE7 and not in safari? Thanks. Link to comment https://forums.phpfreaks.com/topic/115257-can/ Share on other sites More sharing options...
DyslexicDog Posted July 17, 2008 Share Posted July 17, 2008 are you talking about safari in windows or safari in os x? Link to comment https://forums.phpfreaks.com/topic/115257-can/#findComment-592562 Share on other sites More sharing options...
rnintulsa Posted July 17, 2008 Author Share Posted July 17, 2008 I meant when I try to view it on my mac, thru parallels/windows xp/IE7. Does that make sense? Thx. Link to comment https://forums.phpfreaks.com/topic/115257-can/#findComment-592569 Share on other sites More sharing options...
discomatt Posted July 17, 2008 Share Posted July 17, 2008 Yes, you're running a virtual machine, therefor it might not share the exact same 'local' ip. I have no idea why you're doing this, why not just run apache/php/ect on OSX? Link to comment https://forums.phpfreaks.com/topic/115257-can/#findComment-592584 Share on other sites More sharing options...
rnintulsa Posted July 17, 2008 Author Share Posted July 17, 2008 Normally I was testing php the way I was taught http://localhost/~name/pageaddress.php, in safari/firefox but I also need to test in windows, so that is why. My old php instructor thought that it should still work in parallels/windows xp, but it does not. So it is an ip thing? Link to comment https://forums.phpfreaks.com/topic/115257-can/#findComment-592612 Share on other sites More sharing options...
discomatt Posted July 17, 2008 Share Posted July 17, 2008 Yeah, running a virtual machine... theoretically you're running two different computers on a single computer. Localhost/127.0.0.1 in the windows process will not look outside of windows. Link to comment https://forums.phpfreaks.com/topic/115257-can/#findComment-592615 Share on other sites More sharing options...
rnintulsa Posted July 17, 2008 Author Share Posted July 17, 2008 So basically it is not possible to test my php pages this way? Link to comment https://forums.phpfreaks.com/topic/115257-can/#findComment-592620 Share on other sites More sharing options...
trq Posted July 17, 2008 Share Posted July 17, 2008 So basically it is not possible to test my php pages this way? Could be, you'll need to look into the parallels docs. I run 12 virtual machines within my debian OS and they are all accesible via there own respective ip address. 192.168.10.1 - 192.168.10.12 This has nothing at all to do with php. Link to comment https://forums.phpfreaks.com/topic/115257-can/#findComment-592624 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.