Reply to Re: Running PHP 4 & PHP 5 together as modules

Your name:

Reply:


Posted by John Murtari on 04/03/07 19:57

"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.

--
John
___________________________________________________________________
John Murtari Software Workshop Inc.
jmurtari@following domain 315.635-1968(x-211) "TheBook.Com" (TM)
http://thebook.com/

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация