Php code works on guest os but doesn't work on host os

Posted by Ieyasu Sawada on Stack Overflow See other posts from Stack Overflow or by Ieyasu Sawada
Published on 2011-02-13T06:32:12Z Indexed on 2011/02/13 7:25 UTC
Read the original article Hit count: 234

Filed under:
|

Can you give me some guide on how to determine whats the problem if the same piece of code works on guest os. And doesn't work on the host os? I've created the project on Windows 7 but now it seems to be working on XP only. Here's what I have installed on the host os(Windows 7): enter image description here

And here's what I got on the guest os: enter image description here

And here's the screenshot. The guest os and host os side by side: enter image description here

Other things which are the same:

  • php version
  • mysql version
  • apache
  • same data stored on the database

Here's the code of checkout.php: http://cu.pastebin.com/YeBR9rTs Forgive me if its messy.

© Stack Overflow or respective owner

Related posts about php

Related posts about virtual-machine