![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| ||||
| ||||
|
|
I have windows xp (home edition) running in virtual PC on the Mac. Is it possible to run php on it so I can test some dynamic pages. Anyone done this? |
|
I think not unless you have windows xp pro? |
|
if this is correct, it would have been a better investment. |
|
Failing that can I connect to the internet through virtual pc? |
#3
| ||||
| ||||
|
|
Uh...OSX has apache and PHP pre-installed, I believe. I can't imagine any reason to run this via virtual PC, unless your web host runs a windows server and that PHP install is somehow different than the default *nix one. |
|
XP Home is basically a crippled version of XP pro. You *can* get IIS running in it, but you really need XP Pro for it. That said, you should be able to get Apache running on XP Home. Again, though, you're better off running Apache in OSX instead. |
|
Well, you're running this all in Virtual PC. To be honest, your best bet would have been Windows 2000. |
|
Failing that can I connect to the internet through virtual pc? Yes. |
#4
| |||
| |||
|
|
darrel wrote: Uh...OSX has apache and PHP pre-installed, I believe. I can't imagine any reason to run this via virtual PC, unless your web host runs a windows server and that PHP install is somehow different than the default *nix one. Hi Darrel, I do have php/msql running in OSX but when I test the site through Virtual PC, for compatiblity on the PC, the testing server in OSX is not found. Does that sound right? |
#5
| |||
| |||
|
|
Make sure that your 80 port is open to the public that way you 'dial-in' your OSX through your OSX IP. Instead of using localhost/page.php it would be <myexternalip>/page.php |
Im not too technically minded when it comes to
|
A more blunt approach would be to share your files and simply re-create your site on the virtual XP desktop. |
#6
| ||||
| ||||
|
|
I do have php/msql running in OSX but when I test the site through Virtual PC, for compatiblity on the PC, the testing server in OSX is not found. Does that sound right? |
|
humm well that sound promising I only really need to get php running. |
|
Yeah, as I said I really didnt know what I was buying into. I just wanted something for testing position in PC browers for static sites, now I'm introducing some php stuff I need a liitle bit more. |
|
Great I'll whack in aol 9 (lol) and see what happens. |

#7
| |||
| |||
|
|
Alexandro Colorado wrote: Make sure that your 80 port is open to the public that way you 'dial-in' your OSX through your OSX IP. Instead of using localhost/page.php it would be <myexternalip>/page.php Youve lost me there Im not too technically minded when it comes tocomputer issues. Ports are things which ships dock in, right? lol ![]() |
|
A more blunt approach would be to share your files and simply re-create your site on the virtual XP desktop. I've done that but I still get no response from the testing server set up on osX Remember that OSX is more stable than Windows XP so for production use OSX or Linux instead of Windows. ok, Im really just needing to test for functionality, not do any work in the PC environment. |
|
Thanks, I'll test a few alternatives out and see what happens. |
#8
| |||
| |||
|
|
I do have php/msql running in OSX but when I test the site through Virtual PC, for compatiblity on the PC, the testing server in OSX is not found. Does that sound right? You should be able to set it up. You can't use 'localhost' though. Try using the IP of your Mac. Someone else can maybe give you more specifics. |
|
humm well that sound promising I only really need to get php running. Doesn't PHP need a web server to run? |
|
Yeah, as I said I really didnt know what I was buying into. I just wanted something for testing position in PC browers for static sites, now I'm introducing some php stuff I need a liitle bit more. 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) |
#9
| |||
| |||
|
|
Anyway you only need to know your external IP? You know how to get that? |
#10
| |||
| |||
|
|
Alexandro Colorado wrote: Anyway you only need to know your external IP? You know how to get that? Not really. I go to websites which say your ip has been logged for security reasons. Is that what Im looking for? A long number beginning with 172......? Ok so I have this number what do I do with it then? Cheers |
![]() |
| Thread Tools | |
| Display Modes | |
| |