Re: Portability of PHP from windows to Linux
- From: "NC" <nc@xxxxxxxxx>
- Date: 31 Aug 2005 00:43:46 -0700
seth wrote:
>
> I am new to the open source environment. We have to develop a web
> application using Apache/PHP/MySQL on Windows (A component that we want
> to use is available only on Windows for now). Later when the component
> is available on Linux, we would like to move the code.
>
> The web application is a simple one - collects data, does some simple
> validations and stores in the database.
>
> 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?
Generally, PHP code is portable with zero rewrites, unless OS-specific
extensions are used. For example, shared memory and semaphores are not
available on Windows, while COM is available only on Windows. So an
application relying on shared memory or semaphores will not work under
Windows, while an application using COM will work only on Windows.
Check the documentation for extensions you are using for any
OS-specific
notes.
Cheers,
NC
.
- References:
- Portability of PHP from windows to Linux
- From: seth
- Portability of PHP from windows to Linux
- Prev by Date: Re: modify xml file php script
- Next by Date: Re: modify xml file php script
- Previous by thread: Re: Portability of PHP from windows to Linux
- Next by thread: Re: Portability of PHP from windows to Linux
- Index(es):
Relevant Pages
|