Re: Portability of PHP from windows to Linux




"Nicholas Sherlock" <n_sherlock@xxxxxxxxxxx> wrote in message
news:df38he$hfs$1@xxxxxxxxxxxxxxxxxx
> 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


.



Relevant Pages

  • Re: OT Open source Windows terminal server?
    ... > I've been installing Linux servers (usually Debian or Mandrake at ... > That way they could get the benefit of Windows terminal server, ... > weight dumb terminals. ...
    (Debian-User)
  • Re: .NET & Java Publish-Subscribe pattern
    ... If you go the web services route, remember to use only core types (types ... You may want to think about using SQL Server in all locations, ... and several clients in different cities running linux servers ... service clients on each linux server calling webmethods on the .NET2.0/ ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Local web servers - was Re: ISP Virgin
    ... sound machine, the end result should be stable. ... WebJames running as a web server. ... Speaking as someone who maintains RISC OS servers as well as Linux servers, ...
    (comp.sys.acorn.misc)
  • Running script after unexpected shutdown?
    ... How do i run a scrip or a program after my windows 2003 server has ... I want to run some recover/check utilities on my ... mysql database. ...
    (microsoft.public.windows.server.general)
  • .NET & Java Publish-Subscribe pattern
    ... subscribe model between a .NET Web service provide and a Java service ... I have a .NET 2.0 webservice on a server on a dedicated hosting ... and several clients in different cities running linux servers ... service clients on each linux server calling webmethods on the .NET2.0/ ...
    (microsoft.public.dotnet.framework.webservices)