Re: Portability of PHP from windows to Linux
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: Portability of PHP from windows to Linux

From: Al Kolff <alkolff@spam.sucks.earthlink.net>
Date: Wed Aug 31 2005 - 17:12:04 CEST

"Nicholas Sherlock" <n_sherlock@hotmail.com> wrote in message
news:df38he$hfs$1@lust.ihug.co.nz...
> seth wrote:
> > 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?
>
> The code I wrote that works fine on my local EasyPHP testing server
> (Windows) failed on a commercial server (Linux) because table/field
> names in the MySQL database were apparently case sensitive on the server
> (Worked fine here). Watch out :). All lowercase names is a good standard.
>
> Cheers,
> Nicholas Sherlock

I have had the same experience. The bigger problem was different versions of
PHP and MySql on the Windows and Linux servers. Usually the Linux servers
seem to be running newer versions.

Al Kolff
Received on Mon Oct 24 02:09:40 2005