Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- John Murtari
February 4, 2005, 6:53 pm
rate this thread
We are slow in rolling out PHP 5 to our users because it
won't live as a module with PHP 4 in Apache 1.3.x/Linux. I have
seen many workaround like running it as CGI or using a reverse proxy
to forward php 5 requests to another server.
Any 'php gods' out there who might know how hard that support
would be to add to a future version of PHP 5, like PHP 5.1. I'm
sure we are not the only hosting provider running into a problem with
upgrading to PHP 5. We have a lot of folks with a large installed
base of PHP 4 code (which some of them are not too familiar with) --
and we really can't drag them into upgrading.
I remember when PHP 4 came out, with a few mods, we were
able to support both 4 and 5 within Apache as modules and it made
the transition a lot easier!
John Murtari Software Workshop Inc.
jmurtari@following domain 315.635-1968(x-211) "TheBook.Com" (TM)
Re: Version of PHP 5 that can 'module' together with PHP 4 on Linux/Apache
This is big trouble to thousands of server admins, but PHP developers throw
obstacles under their legs:
My workaround works till some 4.3.6 - then, the last trick that could be
used to merge both under one apache's roof was stymied by PHP developers.
Some new way may appear but that would need an Apache's bug(?) with SetEnv
to be fixed, or new way of handling php.ini in PHP 5.1, like use of the
Bug report: http://bugs.php.net/bug.php?id=30228
If anyone knows why they are so defensive against all attempts to merge
PHP4+PHP5, please let me know!