|
Posted by Johnny on 04/03/07 18:35
"John Murtari" <jmurtari@thebook.com> wrote in message
news:x7r6r15s95.fsf@hammer.thebook.com...
> Folks,
>
> We would like to upgrade our servers to PHP 5 and PHP 4
> together as modules on the same server (not as cgi, not passing
> requests to another server). I did some extensive searching on
> this and we ran some tests over a year ago and did not find a
> solution (other than proxy forwarding to a PHP 5 configured server).
>
> When PHP went to version 4 from version 3, it was possible
> to run both at the same time, and have users select by file
> extension, i.e. .php4,.php5. It seems a naming conflict within
> the code itself prevents that from working with PHP 5. Has anyone
> discovered a way to do this?
>
> We are running apache 1.3.x on RHEL 4.
>
> Thanks!
> --
> John
I've just done this successfully on apache2/gentoo. I have it running PHP4
for for .php files and PHP5 for .php5 files.
this doc won't all apply to your case but will likely give you enough
pointers to get you up and running:
http://www.gentoo.org/proj/en/php/php4-php5-configuration.xml
hth, Johnny
[Back to original message]
|