[nmglug] php4 and php5 on Red Hat Enterprise 4
jason
js at jasonschaefer.com
Sun Nov 4 17:40:47 PST 2007
I think it's not possible to load both as modules, I believe they will
conflict. If you need to run php4 and 5 on the same virtual host you
should run php4 as a module and compile php5 as a cgi. If you just want
each virtual host to be able to choose between php4/5, then suPHP can be
used to call either, but not both at the same time.
This rpm from rhel5 should work on rhel4.
http://redhat.download.fedoraproject.org/pub/fedora/linux/core/5/source/SRPMS/php-5.1.2-5.src.rpm
Also CentOS has some repos with php5 in them...
Let us know if you need more detailed instructions.
Jason
Andres Paglayan wrote:
> the only way I can thing of is running one as cgi and the other as a
> module,
> a little more messier, (not sure if possible) is loading both modules ,
> but linking one extension (e.g. php5 to it), although this only
> applicable if you are writing a little piece of code,
>
> On Nov 2, 2007, at 8:38 AM, Mindshare Studios wrote:
>
>
>> Hi all,
>>
>> Does anyone know if you can install both php4 and php5 on Red Hat
>> Enterprise
>> Linux v4? The server I'm managing currently has PHP4 on it but I
>> would like
>> to begin using PHP5 to take advantage of some newer features.
>> However, I
>> don't want to risk screwing up the current setup since the server
>> is in
>> active production.
>>
>> Another issue is that Red Hat apparently doesn't officially support
>> PHP5, so
>> there is no rpm package available on the Red Hat Network (I have
>> heard that
>> the package for Fedora Core works though). Any ideas are much
>> appreciated.
>>
>> Thanks,
>> Damian Taggart, President
>> Mindshare Studios, Inc.
>>
>>
>>
>>
>>
>> _______________________________________________
>> nmglug mailing list
>> nmglug at nmglug.org
>> http://www.nmglug.org/mailman/listinfo/nmglug
>>
>
> Andres Paglayan
>
> --"Harmony is more important than being right"
> Bapak
>
>
>
>
> _______________________________________________
> nmglug mailing list
> nmglug at nmglug.org
> https://nmglug.org/mailman/listinfo/nmglug
>
>
>
More information about the nmglug
mailing list