|
Posted by Schraalhans Keukenmeester on 04/03/07 23:35
John Murtari wrote:
> "Johnny" <reply@in.group.please> writes:
>
>>> 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.
>
>> 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
>
> Thanks for the message, I checked the link out. But it appears
> they are not BOTH running as modules on the same Apache server? The
> choices seemed to be to run one as CGI, or if you want both as modules
> use another instance of Apache. We were hoping someone may have knowledge
> of a solution that allows both to run as modules within the same
> Apache instance.
>
Link is a bit dated, so your mileage may vary, but here goes:
http://www.digitalsandwich.com/archives/14-PHP5-and-PHP4-Running-on-SAME-apache-server.html
Navigation:
[Reply to this message]
|