You are here: Re: Running PHP 4 & PHP 5 together as modules « PHP Programming Language « IT news, forums, messages
Re: Running PHP 4 & PHP 5 together as modules

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

 

Navigation:

[Reply to this 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

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