HighDots Forums  

php on virtual PC

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss php on virtual PC in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Alan
 
Posts: n/a

Default Re: php on virtual PC - 02-08-2005 , 10:51 AM






just to back up and see the trees-

the only reason you have VPC on the machine is to use win/IE to preview
pages?

just use the browser to view the pages on the remote host.

It ~may~ be possible to use a browser running in VPC to view pages being
served by osx/apache but i haven't been able to find any info on what url
would have to be used, or the articles get confused talking about needing
two ethernet connections.


Reply With Quote
  #12  
Old   
Osgood
 
Posts: n/a

Default Re: php on virtual PC - 02-08-2005 , 10:57 AM






Alan wrote:

Quote:
just to back up and see the trees-

the only reason you have VPC on the machine is to use win/IE to preview
pages?
Yes

Quote:
just use the browser to view the pages on the remote host.
That's what I was thinking would be the easiest way but Im not connected
through Virtual PC yet. If I can connect through VPC then the problem
would be solved.

I may have tried this before but I seem to remember being alerted 'the
port is in use by something else'. I guess I was connected to the
internet via osX at the time and I couldn't connect via both at the same
time. Im on dial up.


Quote:
It ~may~ be possible to use a browser running in VPC to view pages being
served by osx/apache but i haven't been able to find any info on what url
would have to be used, or the articles get confused talking about needing
two ethernet connections.
lol, sounds too complex for me.


Thanks Alan.



Reply With Quote
  #13  
Old   
Ross Riley
 
Posts: n/a

Default Re: php on virtual PC - 02-08-2005 , 10:57 AM



Quote:
In hindsight...for next time, the cost of VPC + windows isn't a whole lot
less then getting a $400 PC from Best Buy. ;o) The benefit of testing on
Virtual PC as opposed to a real PC is that you can have multiple installations
of windows going. I've got one virtual disc with XP, one with 2000 and one with
Windows 98 each with different versions of IE.....very useful. If you go to
serverlogistics.com you can download ready done installers for Apache and PHP
on OSX. This makes it really easy to get going. Ross



Reply With Quote
  #14  
Old   
Osgood
 
Posts: n/a

Default Re: php on virtual PC - 02-08-2005 , 10:58 AM



Alexandro Colorado wrote:

Quote:
yes thats the one an IP number consist on 4 series of numbers (like a
phone number)
usually localhost is the same as this IP number (127.0.0.1)

Your computer IP number should be 172.xxx.xxx.xxx it doesn't matter if
it doesn't use the 3 characters
What do I do with this number if I can locate it, any pointers?



Reply With Quote
  #15  
Old   
Alexandro Colorado
 
Posts: n/a

Default Re: php on virtual PC - 02-08-2005 , 11:02 AM



On Tue, 08 Feb 2005 15:58:04 +0000, Osgood
<notavailable (AT) atthisaddress (DOT) com> wrote:

Quote:
Alexandro Colorado wrote:

yes thats the one an IP number consist on 4 series of numbers (like a
phone number)
usually localhost is the same as this IP number (127.0.0.1)
Your computer IP number should be 172.xxx.xxx.xxx it doesn't matter
if it doesn't use the 3 characters

What do I do with this number if I can locate it, any pointers?

you put 172.xxx.xxx.xxx./page.php

--
Alexandro Colorado
------------------------------
Support Engineer
InterAKT Online
http://www.interaktonline.com
Tel: 40(21) 312.5312


Reply With Quote
  #16  
Old   
darrel
 
Posts: n/a

Default Re: php on virtual PC - 02-08-2005 , 11:02 AM



Quote:
It ~may~ be possible to use a browser running in VPC to view pages being
served by osx/apache but i haven't been able to find any info on what url
would have to be used, or the articles get confused talking about needing
two ethernet connections.
The key is that you have a router on your network, so that each machine can
have a unique IP.

Normally, you have an external IP address that goes to your router, and then
your router assigns internal IPs for each machine. With VPC you can set it
up to either share your Mac's internet connection, or request it's own. Do
the latter. Then, your PC will have a different IP than your Mac.

To get your internal IP in OSX, go to APPLICATIONS >> NETWORK UTILITY

To get your internal IP in XP, go to ACCESORIES >> COMMAND PROMPT and type
in IPCONFIG

-Darrel




Reply With Quote
  #17  
Old   
darrel
 
Posts: n/a

Default Re: php on virtual PC - 02-08-2005 , 11:22 AM



Quote:
Im on dial up.
Ouch. Well, in that case, I don't think you can do that, since I assume your
VPC is then sharing your OSX connection (ie, you do not have a local network
using a router).

-Darrel




Reply With Quote
  #18  
Old   
darrel
 
Posts: n/a

Default Re: php on virtual PC - 02-08-2005 , 11:24 AM



Quote:
The benefit of testing on
Virtual PC as opposed to a real PC is that you can have multiple
installations
of windows going.
True. It's also more portable if it's on your laptop.

That said, you can run VPC in windows if you want. For testing web sites,
though, the OS, itself, isn't as important as the version of IE you are
using.

FYI, you can run different versions of IE on the same OS if you want:

http://www.skyzyx.com/archives/000094.php

-Darrel




Reply With Quote
  #19  
Old   
Osgood
 
Posts: n/a

Default Re: php on virtual PC - 02-08-2005 , 11:24 AM



Alexandro Colorado wrote:

Quote:
you put 172.xxx.xxx.xxx./page.php
Cool, I'll give that a go too.

Thanks




Reply With Quote
  #20  
Old   
Osgood
 
Posts: n/a

Default Re: php on virtual PC - 02-08-2005 , 11:26 AM



darrel wrote:

Quote:
It ~may~ be possible to use a browser running in VPC to view pages being
served by osx/apache but i haven't been able to find any info on what url
would have to be used, or the articles get confused talking about needing
two ethernet connections.


The key is that you have a router on your network, so that each machine can
have a unique IP.
Right, its slowly becoming clearer to me.


Quote:
Normally, you have an external IP address that goes to your router, and then
your router assigns internal IPs for each machine. With VPC you can set it
up to either share your Mac's internet connection, or request it's own. Do
the latter. Then, your PC will have a different IP than your Mac.
ok.

Quote:
To get your internal IP in OSX, go to APPLICATIONS >> NETWORK UTILITY
Will try, once my head has stop spinning

Quote:
To get your internal IP in XP, go to ACCESORIES >> COMMAND PROMPT and type
in IPCONFIG

hehehehe think Im having a breakdown.


Thanks.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.