PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.lang.php > multiple PHP 5 subversions
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
multiple PHP 5 subversions

Réponse
 
LinkBack Outils de la discussion
Vieux 28/03/2008, 20h01   #1
Ivan Slavkov
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut multiple PHP 5 subversions

Hello,

Is it possible to use multiple PHP 5 subversions in Apache e.g. PHP
5.2.5 and PHP 5.3 . I just want to use PHP 5.2.5 by default and PHP
5.3 for partucular Virtual Host. The problem is that the LoadModule
directive in httpd.conf is php5_module but I want to have e.g.
php5_module and php5.3_module ?

The modules are apxs. The server is runing on Linux

- Ivan
  Réponse avec citation
Vieux 28/03/2008, 22h49   #2
Jerry Stuckle
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: multiple PHP 5 subversions

Ivan Slavkov wrote:
> Hello,
>
> Is it possible to use multiple PHP 5 subversions in Apache e.g. PHP
> 5.2.5 and PHP 5.3 . I just want to use PHP 5.2.5 by default and PHP
> 5.3 for partucular Virtual Host. The problem is that the LoadModule
> directive in httpd.conf is php5_module but I want to have e.g.
> php5_module and php5.3_module ?
>
> The modules are apxs. The server is runing on Linux
>
> - Ivan
>


Nope, don't think you can do it. But you could run multiple Apache
servers on different ports.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

  Réponse avec citation
Vieux 29/03/2008, 07h03   #3
Ivan Slavkov
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: multiple PHP 5 subversions

On Mar 28, 11:49pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> Ivan Slavkov wrote:
> > Hello,

>
> > Is it possible to use multiple PHP 5 subversions in Apache e.g. PHP
> > 5.2.5 and PHP 5.3 . I just want to use PHP 5.2.5 by default and PHP
> > 5.3 for partucular Virtual Host. The problem is that the LoadModule
> > directive in httpd.conf is php5_module but I want to have e.g.
> > php5_module and php5.3_module ?

>
> > The modules are apxs. The server is runing on Linux

>
> > - Ivan

>
> Nope, don't think you can do it. But you could run multiple Apache
> servers on different ports.
>
> --
> ==================
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstuck...@attglobal.net
> ==================


Where is the problem to change the module name in some way ?
  Réponse avec citation
Vieux 29/03/2008, 08h47   #4
Michael Fesser
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: multiple PHP 5 subversions

..oO(Ivan Slavkov)

>Is it possible to use multiple PHP 5 subversions in Apache e.g. PHP
>5.2.5 and PHP 5.3 . I just want to use PHP 5.2.5 by default and PHP
>5.3 for partucular Virtual Host. The problem is that the LoadModule
>directive in httpd.conf is php5_module but I want to have e.g.
>php5_module and php5.3_module ?


You could run one version as a module and the other(s) as CGI.

Micha
  Réponse avec citation
Vieux 29/03/2008, 15h09   #5
Jerry Stuckle
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: multiple PHP 5 subversions

Ivan Slavkov wrote:
> On Mar 28, 11:49 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>> Ivan Slavkov wrote:
>>> Hello,
>>> Is it possible to use multiple PHP 5 subversions in Apache e.g. PHP
>>> 5.2.5 and PHP 5.3 . I just want to use PHP 5.2.5 by default and PHP
>>> 5.3 for partucular Virtual Host. The problem is that the LoadModule
>>> directive in httpd.conf is php5_module but I want to have e.g.
>>> php5_module and php5.3_module ?
>>> The modules are apxs. The server is runing on Linux
>>> - Ivan

>> Nope, don't think you can do it. But you could run multiple Apache
>> servers on different ports.
>>
>> --
>> ==================
>> Remove the "x" from my email address
>> Jerry Stuckle
>> JDS Computer Training Corp.
>> jstuck...@attglobal.net
>> ==================

>
> Where is the problem to change the module name in some way ?
>


Because it doesn't work, that's why. There's a lot more than just a
module name involved.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

  Réponse avec citation
Vieux 29/03/2008, 20h15   #6
Kees Nuyt
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: multiple PHP 5 subversions

On Fri, 28 Mar 2008 23:03:03 -0700 (PDT), Ivan Slavkov
<ivan.slavkov@gmail.com> wrote:

>On Mar 28, 11:49pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>> Ivan Slavkov wrote:
>> > Hello,

>>
>> > Is it possible to use multiple PHP 5 subversions in Apache e.g. PHP
>> > 5.2.5 and PHP 5.3 . I just want to use PHP 5.2.5 by default and PHP
>> > 5.3 for partucular Virtual Host. The problem is that the LoadModule
>> > directive in httpd.conf is php5_module but I want to have e.g.
>> > php5_module and php5.3_module ?

>>
>> > The modules are apxs. The server is runing on Linux

>>
>> > - Ivan

>>
>> Nope, don't think you can do it. But you could run multiple Apache
>> servers on different ports.
>>


> Where is the problem to change the module name in some way ?


The problem is not the module names, but the names of
the entry points in the php libraries and in the php
extension libraries.

The solution of Michael Fesser is the only one that
will work within one Apache instance.

Running more than one Apache is really not all that
bad. One of them could even be a proxy for the other
one.
--
( Kees
)
c[_] I tried to daydream, but my mind kept wandering. (#22)
  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 19h20.


É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,10841 seconds with 14 queries