Reputation: 9351
I've been given an existing PHP application that was originally deployed on a LAMP host.
Because most of our team are .Net developers, our boss wants it deployed in a windows environment.
Is it madness to expect this to just work?
Here's some additional info of the LAMP host:
Upvotes: 2
Views: 523
Reputation: 6132
Some what i've experienced over the years:
And always check and double check that Apache modules and PHP modules are atleast the same version as in old system.
It's also not too bad to run GNU/Linux virtualized on top of Windows with for example VMWare if code doesn't seem to like running in Windows.
Upvotes: 1
Reputation: 4682
Be very careful that at no point is exec
called. A lot of extremely lazy code is written that will use this, and for obvious reasons it may not port well.
Upvotes: 1
Reputation: 25011
In my experience, it can be done and works fine. The most important things I'd keep in mind are:
Upvotes: 1
Reputation: 15208
It depends what's being done in the application. Two areas to look into though are where the app looks for files in the file system (using Linux specific paths?) and finding windows builds of any php modules (from PECL in particular).
Upvotes: 1
Reputation: 20977
Heck even just migrating from one hosted server to a different one usually requires SOME tweaking and adjustments. I don't imagine having to do it in a Windows environment would be much different. I was invloved in the migration of a large PHP app just last week and we (3 people) were able to get things going in about half a day.
Upvotes: 1