I have hosted my website in linux platform. for some reasons am shifting it to windows hosting. do i have to make changes to the php code. Will the database be affected?

Any help will be appreciated.

Personally I would move to another provider if they chose to change my OS without my consent. Your php will work just fine provided they have PHP enabled in IIS and MySQL installed on the server you are moving to.
Why anybody would move clients off of a server OS (Linux) onto a GUI pseudo server OS (Windows) is beyond me.

No, as long as your windows web hosting support PHP or has Apache installed on their server, then you don't need to change your PHP code. Just find the right windows web hosting before you decide to migrate your system,

Member Avatar

WAMP system should work as LAMP for the majority of stuff. Often it's not the OS, but the PHP build that's the issue. Ensure that it's VC9 as opposed to VC6. Also PHP on IIS could cause problems if you're using url rewriting.

I'm with rch here - can't see why anybody would want to run PHP on Windows out of choice.

Not only that, don't windows cost more if you are buying dedicated hosting?

Not to mention the bloat for AV, microsoft system updates etc etc, unless of course you're planning on deploying asp.net apps or something.

Edit tricked my a two thread bumper!!