installing php5 beta 4

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Rob Ristroph

    installing php5 beta 4


    Has anyone built the PHP5 beta 4 as an apache module ? I am using
    apache 2.

    Is there some trick, or missing instructions, or known bug ? Perhaps
    you have to use some version of apache earlier than 2.0.48, the
    current latest ?

    I have built php4 before without problems. After trying a variety of
    things and never getting a libphp5.so, I am at a loss as to how to go
    about this. (When I did a configure without using the --with-apxs2,
    and instead did a --with-apache=/path/apache_1.3/, I think it made the
    right Makefiles to make a module, but I'm not running apache 1.3 I'm
    running apache 2.)

    If I could at least confirmation that someone out there did it, I can
    post the various steps and configure lines for php and apache that I
    tried. Right now I think the next step is to start fiddling with the
    build system.

    --Rob
  • Keith Bowes

    #2
    Re: installing php5 beta 4

    Rob Ristroph wrote:[color=blue]
    > Has anyone built the PHP5 beta 4 as an apache module ? I am using
    > apache 2.
    >
    > Is there some trick, or missing instructions, or known bug ? Perhaps
    > you have to use some version of apache earlier than 2.0.48, the
    > current latest ?
    >
    > I have built php4 before without problems. After trying a variety of
    > things and never getting a libphp5.so, I am at a loss as to how to go
    > about this. (When I did a configure without using the --with-apxs2,
    > and instead did a --with-apache=/path/apache_1.3/, I think it made the
    > right Makefiles to make a module, but I'm not running apache 1.3 I'm
    > running apache 2.)
    >
    > If I could at least confirmation that someone out there did it, I can
    > post the various steps and configure lines for php and apache that I
    > tried. Right now I think the next step is to start fiddling with the
    > build system.
    >
    > --Rob[/color]

    I've compiled PHP 5 beta 4 for Apache 2.0.48 (on Linux). I did:
    ../configure --disable-cgi --with-apxs2filter
    make
    make install

    It all worked fine.

    Comment

    • Rob Ristroph

      #3
      Re: installing php5 beta 4

      >>>>> "Keith" == Keith Bowes <do.not@spam.me > writes:
      Keith>
      Keith> Rob Ristroph wrote:[color=blue][color=green]
      >> Has anyone built the PHP5 beta 4 as an apache module ? I am using
      >> apache 2. Is there some trick, or missing instructions, or known
      >> bug ? Perhaps you have to use some version of apache earlier than
      >> 2.0.48, the current latest ?
      >>
      >> I have built php4 before without problems. After trying a variety
      >> of things and never getting a libphp5.so, I am at a loss as to how
      >> to go about this. (When I did a configure without using the
      >> --with-apxs2, and instead did a --with-apache=/path/apache_1.3/, I
      >> think it made the right Makefiles to make a module, but I'm not
      >> running apache 1.3 I'm running apache 2.) If I could at least
      >> confirmation that someone out there did it, I can post the various
      >> steps and configure lines for php and apache that I tried. Right
      >> now I think the next step is to start fiddling with the build
      >> system.
      >>
      >> --Rob[/color][/color]
      Keith>
      Keith>
      Keith> I've compiled PHP 5 beta 4 for Apache 2.0.48 (on Linux). I did:
      Keith> ./configure --disable-cgi --with-apxs2filter
      Keith> make
      Keith> make install
      Keith>
      Keith> It all worked fine.

      This configure line produced a libphp5.so for me also ! I now have to
      figure out what in my more complicated configure command was wrong.
      Maybe I can get away with just using yours if it includes all the
      features be default.

      For what it's worth, I am using RedHat 9, with apache and the apr and
      mod_* rpms updated from here:



      --Rob

      Comment

      Working...