Posted on Leave a comment

PHP is exactly the same on Linux and Windows…

PHP is exactly the same on Linux and Windows as long as you are using good coding practices, are not using deprecated variables and functions, are not suppressing error messages, are not porting code from an older version of PHP. See, I maintain code on a project that was originally contracted to someone in the United States who failed to tell his client that all he was doing was outsourcing the project to a foreign company. He lost the contract to me when that foreign company became unresponsive to change requests. Many of the comments and variable names are in a foreign language that I do not recognize. The code looks like the foreign company had once written a CMS and just resell it shoehorning new features with hacks. There are many weaknesses to their code but this is not about judging other developers. This post is to warn that although PHP should conceptually move seamlessly from a Linux environment to a Windows Server environment, in reality it doesn’t.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.