They are the same in that they are both based on PHP under Apache, and therefore system and global variables are available in the same pattern. Obviously a development environment is not going to be the same as production, just architecturally the same.
> ...LAMP and WAMP installers...
Contradiction there, unless you're suggesting that production systems typically use all-in-one LAMP/WAMP installers.