multiple PHP 5 subversions

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ivan Slavkov

    #1

    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
  • Jerry Stuckle

    #2
    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@attgl obal.net
    =============== ===

    Comment

    • Ivan Slavkov

      #3
      Re: multiple PHP 5 subversions

      On Mar 28, 11:49 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
      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...@attgl obal.net
      =============== ===
      Where is the problem to change the module name in some way ?

      Comment

      • Michael Fesser

        #4
        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

        Comment

        • Jerry Stuckle

          #5
          Re: multiple PHP 5 subversions

          Ivan Slavkov wrote:
          On Mar 28, 11:49 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
          >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...@attg lobal.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@attgl obal.net
          =============== ===

          Comment

          • Kees Nuyt

            #6
            Re: multiple PHP 5 subversions

            On Fri, 28 Mar 2008 23:03:03 -0700 (PDT), Ivan Slavkov
            <ivan.slavkov@g mail.comwrote:
            >On Mar 28, 11:49 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
            >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)

            Comment

            Working...