Connecting Tech Pros Worldwide Help | Site Map

multiple PHP 5 subversions

Ivan Slavkov
Guest
 
Posts: n/a
#1: Mar 28 '08
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
Jerry Stuckle
Guest
 
Posts: n/a
#2: Mar 28 '08

re: multiple PHP 5 subversions


Ivan Slavkov wrote:
Quote:
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
==================

Ivan Slavkov
Guest
 
Posts: n/a
#3: Mar 29 '08

re: multiple PHP 5 subversions


On Mar 28, 11:49*pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
Quote:
Ivan Slavkov wrote:
Quote:
Hello,
>
Quote:
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 ?
>
Quote:
The modules are apxs. The server is runing on Linux
>
Quote:
- 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 ?
Michael Fesser
Guest
 
Posts: n/a
#4: Mar 29 '08

re: multiple PHP 5 subversions


..oO(Ivan Slavkov)
Quote:
>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
Jerry Stuckle
Guest
 
Posts: n/a
#5: Mar 29 '08

re: multiple PHP 5 subversions


Ivan Slavkov wrote:
Quote:
On Mar 28, 11:49 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
Quote:
>Ivan Slavkov wrote:
Quote:
>>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
==================

Kees Nuyt
Guest
 
Posts: n/a
#6: Mar 29 '08

re: multiple PHP 5 subversions


On Fri, 28 Mar 2008 23:03:03 -0700 (PDT), Ivan Slavkov
<ivan.slavkov@gmail.comwrote:
Quote:
>On Mar 28, 11:49*pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
Quote:
>Ivan Slavkov wrote:
Quote:
Hello,
>>
Quote:
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 ?
>>
Quote:
The modules are apxs. The server is runing on Linux
>>
Quote:
- Ivan
>>
>Nope, don't think you can do it. *But you could run multiple Apache
>servers on different ports.
>>
Quote:
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)
Closed Thread