Re: Portability of PHP from windows to Linux



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

.



Relevant Pages

  • Re: Small, understandable Forth
    ... You mentioned 4p, FICL, PFE, pforth and SP-Forth and Gforth. ... I downloaded pforth for Windows because I didn't know it. ... This system's O/S interface using no extensions ... apparently the free systems situation is worse than I thought. ...
    (comp.lang.forth)
  • Re: Windows XP Search for meta in content does not work
    ... To configure Windows XP to search all files no matter what the file type, ... file types with unknown extensions option. ... Click Change Indexing Service Settings. ... Warning Serious problems might occur if you modify the registry incorrectly ...
    (microsoft.public.windowsxp.general)
  • Re: Downloading of files a problem
    ... Have you changed the default setting so that you can at least SEE the extensions? ... Hide protected operating system files (Recommended) ... If you click Run, instead of Save, Windows will put the file in a temporary location that may be hard for you to find later. ... This problem is on every download I try, ...
    (microsoft.public.windows.file_system)
  • Re: The future of FrontPage / FrontPage Extensions
    ... Unix, Windows 2000 Server, Windows XP Pro: Support ended in June 2006. ... There is a downloadable version of the 2002 extensions on the Microsoft site for all 64bit Windows operating systems. ... The FrontPage extensions use some non-standard code in places. ...
    (microsoft.public.frontpage.programming)
  • Re: Need advice for players and burning DVDs
    ... In Windows ... >extensions for known file types". ... >>The most prized files are .MKV files (matroska), ...
    (rec.video.dvd.players)