Version of PHP 5 that can 'module' together with PHP 4 on Linux/Apache

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • John Murtari

    Version of PHP 5 that can 'module' together with PHP 4 on Linux/Apache

    Folks,
    We are slow in rolling out PHP 5 to our users because it
    won't live as a module with PHP 4 in Apache 1.3.x/Linux. I have
    seen many workaround like running it as CGI or using a reverse proxy
    to forward php 5 requests to another server.

    Any 'php gods' out there who might know how hard that support
    would be to add to a future version of PHP 5, like PHP 5.1. I'm
    sure we are not the only hosting provider running into a problem with
    upgrading to PHP 5. We have a lot of folks with a large installed
    base of PHP 4 code (which some of them are not too familiar with) --
    and we really can't drag them into upgrading.

    I remember when PHP 4 came out, with a few mods, we were
    able to support both 4 and 5 within Apache as modules and it made
    the transition a lot easier!

    Any thoughts?
    --
    John
    _______________ _______________ _______________ _______________ _______
    John Murtari Software Workshop Inc.
    jmurtari@follow ing domain 315.635-1968(x-211) "TheBook.Co m" (TM)
    Own TheBook.com today. Secure checkout and guided transfer support. No hidden fees.

  • Wayne

    #2
    Re: Version of PHP 5 that can 'module' together with PHP 4 on Linux/Apache

    On 04 Feb 2005 12:53:36 -0500, John Murtari <jmurtari@thebo ok.com>
    wrote:
    [color=blue]
    > Any thoughts?[/color]

    Use FastCGI.

    Comment

    • Ondra Zizka

      #3
      Re: Version of PHP 5 that can 'module' together with PHP 4 on Linux/Apache

      I wrote a howto: PHP4+PHP5+Apach e

      This is big trouble to thousands of server admins, but PHP developers throw
      obstacles under their legs:
      My workaround works till some 4.3.6 - then, the last trick that could be
      used to merge both under one apache's roof was stymied by PHP developers.
      Some new way may appear but that would need an Apache's bug(?) with SetEnv
      to be fixed, or new way of handling php.ini in PHP 5.1, like use of the
      sections [php5.1]
      Bug report: http://bugs.php.net/bug.php?id=3022 8
      If anyone knows why they are so defensive against all attempts to merge
      PHP4+PHP5, please let me know!


      "John Murtari" <jmurtari@thebo ok.com> píse v diskusním príspevku
      news:x71xbwtdnj .fsf@hammer.the book.com...[color=blue]
      > Folks,
      > We are slow in rolling out PHP 5 to our users because it
      > won't live as a module with PHP 4 in Apache 1.3.x/Linux. I have
      > seen many workaround like running it as CGI or using a reverse proxy
      > to forward php 5 requests to another server.
      >
      > Any 'php gods' out there who might know how hard that support
      > would be to add to a future version of PHP 5, like PHP 5.1. I'm
      > sure we are not the only hosting provider running into a problem with
      > upgrading to PHP 5. We have a lot of folks with a large installed
      > base of PHP 4 code (which some of them are not too familiar with) --
      > and we really can't drag them into upgrading.
      >
      > I remember when PHP 4 came out, with a few mods, we were
      > able to support both 4 and 5 within Apache as modules and it made
      > the transition a lot easier!
      >
      > Any thoughts?
      > --
      > John
      > _______________ _______________ _______________ _______________ _______
      > John Murtari Software Workshop Inc.
      > jmurtari@follow ing domain 315.635-1968(x-211) "TheBook.Co m" (TM)
      > http://thebook.com/[/color]


      Comment

      Working...