Re: Apache handler with Multiple PHP versions
| From: | Richard Lynch | Date: | Sat, 14 Jul 2007 07:36:43 +0000 |
| Subject: | Re: Apache handler with Multiple PHP versions | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-30916@lists.php.net to get a copy of this message | ||
On Wed, July 11, 2007 9:02 pm, chris# wrote:
>> Getting 2 PHP modules to co-exist without tromping on each others'
>> symbols is, I think, the show-stopper...
>>
>> It was possible to have PHP3 and PHP4 both as modules, I think, but
>> that was an anomoly?
> So which one of the developers broke this /feature/ in 5? ;)
I think it's more of a systemic thing than a single developer breaking
a feature...
I'm not quite sure how they got all the symbols (read: internal PHP
function names) to be "different" between PHP3 and PHP4, but I suspect
it was a butt-load of work for not much benefit.
You can run as many versions as you want in FastCGI pretty trivially.
Oh, and to answer another question in this thread:
I don't know how many shared webhosts offer the ability to change PHP
version with ForceType in .htaccess
I only know that mine has offered that for quite some time, to easy
any problems with clients who need to install niche software.
I also know that another webhost of one of my clients' does it.
So from a tiny non-representative sample, I'm looking at about 2 out
of 6 webhosts I've experienced.
YMMV
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?