[nycphp-talk] IIS a dysfunctional kludge?
danielc at analysisandsolutions.com
Mon Jan 18 12:06:02 EST 2010
On Fri, Jan 15, 2010 at 10:50:12AM -0500, Chris Snyder wrote:
> One thing I haven't seen on this thread: for those of you who develop
> on Linux and deploy on Windows (or vice versa, more likely) how do you
> deal with the differences in file names, line endings, and $_SERVER
I develop on Windows and deploy on *nix.
PHP is happy to use "/" on Windows for directories. Use PATH_SEPARATOR
for include_path settings.
Use Unix line endings for everything.
It's rare to need a $_SERVER value that isn't the same on all platforms.
Let alone, Apache runs on Windows, so that's what I run in my dev
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409
More information about the talk