Re: PHP portability

From: Nikolai Chuvakhin (nc_at_iname.com)
Date: 05/25/04


Date: 25 May 2004 08:55:28 -0700


"Nick Mudge" <mark1822@hotmail.com> wrote in message
   news:<PHSkc.5886$Ia6.661726@attbi_s03>...
>
> I have PHP 4 running as a module on windows XP, I also have MySQL
> and Apache 2 running on windows XP.
>
> If I write a big website on my computer that has XP and I use PHP,
> MySQL and Apache 2, and HTML and Javascript to write my web site,
> how hard will it be to transfere my whole website from my home
> computer to a hosting company that I find on the web.

The majority of Web hosting companies run PHP on either Linux or BSD;
also, Apache 2 is still believed by many to be insufficiently stable
for production environments. Consequently, major incompatibility can
arise from using either Windows-specific extensions (such as COM or
Printer) or relying on functionalities specific to Apache 2 and not
supported by Apache 1.3. As long as you are doing neither, you
should be fine.

In addition, be sure your MySQL queries are backward compatible with
MySQL 3.23. There were a lot of changes between MySQL 3.23 and 4.0,
but many hosting companies out there still have 3.23.

Also, remember that Linux and BSD require forward slashes in paths
(in Windows, you can get by with backward slashes) and have case-
sensitive filename system.

Cheers,
NC



Relevant Pages