PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > alt.apache.configuration > Adding PHP5 Support to apache
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
alt.apache.configuration Apache web server configuration issues.

Adding PHP5 Support to apache

Réponse
 
LinkBack Outils de la discussion
Vieux 31/01/2008, 12h03   #1
Gerhard Neuhofer
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Adding PHP5 Support to apache

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
  Réponse avec citation
Vieux 31/01/2008, 12h09   #2
Davide Bianchi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Adding PHP5 Support to apache

On 2008-01-31, Gerhard Neuhofer <neugii@gmail.com> wrote:
> 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?


I don't think you can load both php4 and php5 libraries into the same
Apache at the same time. So you either upgrade your php to 5 or run
another instance of Apache with php5 support (but not 4) in paralel.
I suggest you simply upgrade.

Davide

--
If thoughts could kill... We'd hear a lot more of 'Can you
me with -HURK!'
-- Geoff Lane & SteveD on alt.sysadmin.recovery
  Réponse avec citation
Vieux 31/01/2008, 18h36   #3
Kees Nuyt
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Adding PHP5 Support to apache

On Thu, 31 Jan 2008 04:03:35 -0800 (PST), Gerhard Neuhofer
<neugii@gmail.com> 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)
  Réponse avec citation
Vieux 05/02/2008, 08h21   #4
Gerhard Neuhofer
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Adding PHP5 Support to apache

On Jan 31, 7:36 pm, Kees Nuyt <k.n...@nospam.demon.nl> wrote:
> On Thu, 31 Jan 2008 04:03:35 -0800 (PST), Gerhard Neuhofer
>
> <neu...@gmail.com> 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)


Hi,

thx for the infos, i'll have a look at them.

best
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 22h23.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,08687 seconds with 12 queries