[development] PHP version stats
victorkane at gmail.com
Sun Mar 25 14:07:20 UTC 2007
On Site5 hosting, where I host the majority of my sites, they have a really
neat setup: Both Php4 AND Php5 are installed.
By default Php4 will be invoked. However, by adding the following line to
the appropriate domain or subdomain document root .htaccess file specifies
Php5 for that site, without further ado:
AddHandler application/x-httpd-php5 .php
Pretty smart, wish others would adopt it.
On 3/25/07, John Ackers <john.ackers at mail.com> wrote:
> I have discussed PHP5 support with my hosting company and they are not
> interested (because existing PHP4 code does not execute the same under
> I notice that some hosting companies ask you specify PHP 4 or 5 at the
> time you sign up, presumably because customers are put on different hosts,
> see http://www.wesh.co.uk/. This seems ridiculous to me.
> I think that the hosting companies would be comfortable if they could
> install PHP4 and PHP5 as separate modules under apache (often 1.x) i.e.
> no use of CGI or FastCGI. The specific version invoked from a PHP code
> embedded into a web page would need to be configurable by virtual host in
> .htaccess or somewhere else - assuming this was possible.
> I think the PHP folk do need provide an upgrade path for shared hosts if
> they want us to abandon PHP4 (and its horrible Object support).
> On 3/24/07, Jeff Griffiths <anisotropic at gmail.com> wrote:
> > On 3/24/07, Khalid Baheyeldin <kb at 2bits.com> wrote:
> > > Agreed. I hope the landscape changes in favor of PHP5, but I am not
> > > holding my breath.
> > I think, er, actually I *know* that this issue has less to do with
> > Linux distros and more to do with shared hosts. I chose dreamhost
> > because not only do they have a choice of php versions, they even let
> > you build your own if you want to.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the development