Adding PHP5 Support to apache

Adding PHP5 Support to apache

am 31.01.2008 13:03:35 von Neugi

Hi,

i'm currently running php4 on my apache 2. now i want to add a php5
support. is there a tutorial how to add also php5 to the webserver?

best

Re: Adding PHP5 Support to apache

am 31.01.2008 13:09:27 von unknown

Post removed (X-No-Archive: yes)

Re: Adding PHP5 Support to apache

am 31.01.2008 19:36:04 von Kees Nuyt

On Thu, 31 Jan 2008 04:03:35 -0800 (PST), Gerhard Neuhofer
wrote:

>Hi,
>
>i'm currently running php4 on my apache 2. now i want to add a php5
>support. is there a tutorial how to add also php5 to the webserver?
>
>best

The most common way that I have seen is to run PHP4
through mod_php under Apache and then implement PHP5 as
CGI usually through FastCGI. This means that PHP4
scripts/pages end .php and PHP5 pages end .php5
(or the other way around).
Running both as php_mod is impossible.

Google for
php4 php5 coexist apache
and you will find some very useful sources.

HTH
--
( Kees
)
c[_] Other than telling us how to live, think, marry,
pray, vote, invest, educate our children, and now,
die, I think the Republicans have done a fine job
of getting government out of our personal lives. (#213)