I have discussed PHP5 support with my hosting company and they are not interested (because existing PHP4 code does not execute the same under PHP5). 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). John
On 3/24/07, *Jeff Griffiths* <anisotropic@gmail.com <mailto:anisotropic@gmail.com>> wrote:
On 3/24/07, Khalid Baheyeldin <kb@2bits.com <mailto:kb@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.