Re: Portability of PHP from windows to Linux



Following on from seth's message. . .
I would like to know how portable the code will be. Do we need to
rewrite a lot of code when we move from Windows to Linux? What are the
issues I need to be aware of?
Not a big issue, in fact I would say just the same as going from one version of something to another: There might be odd niggles which cause frustration but nothing to cause you to do any serious rewrites. You'll just find that something that worked fails possibly with an error and is fixed by trivial tweak to paths, filenames and permissions. This might be due to different versions of PHP, mySQL, Apache and sillynesses with config files.

Bottom line is assume it will work as-is but be prepared for some tweaks.

--
PETER FOX Not the same since the statuette business went bust
peterfox@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2 Tees Close, Witham, Essex.
Gravity beer in Essex  <http://www.eminent.demon.co.uk>
.



Relevant Pages

  • Re: Newbie Experience
    ... BSD had to be *almost totally rewritten* to avoid AT&T ... I hardly find needing to rewrite less than half a percent ... than half a percent was a legal order to not use the name "Unix" but the ... Linux arose from ideas as presented in the POSIX standard and GNU ...
    (freebsd-questions)
  • Re: from elsewhere, an assembler
    ... programming methods and often a rewrite from scratch is the only ... Linux seem to 'go BIOS' quite often. ... Even many windoze core function rely on the BIOS ... a32 and .a32 are different directives,... ...
    (alt.lang.asm)
  • Re: from elsewhere, an assembler
    ... programming methods and often a rewrite from scratch is the only ... Linux seem to 'go BIOS' quite often. ... Even many windoze core function rely on the BIOS ... a32 and .a32 are different directives,... ...
    (alt.lang.asm)
  • Re: Microsoft not content with "dissing" just the Classic VB Devel
    ... I am a Classic VB programmer. ... major rewrite in order to work with RB. ... If I would do Mac or Linux programming, ... again C++ has more support for those platforms than Real BASIC. ...
    (microsoft.public.dotnet.general)
  • Re: Productivity in Assembly Language
    ... Feel free to show us how you can rewrite it in 1/10th the space. ... First, delete the Linux half. ... Second, adopt a\/b's syntax. ...
    (alt.lang.asm)