468,256 Members | 1,439 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,256 developers. It's quick & easy.

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
Jul 17 '05 #1
2 1642
Rob Ristroph wrote:
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


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.

Jul 17 '05 #2
>>>>> "Keith" == Keith Bowes <do****@spam.me> writes:
Keith>
Keith> Rob Ristroph wrote:
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>
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:

http://uberh4x0r.org/~hoyhoy/rpms/redhat9/

--Rob
Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Christoph Nothdurfter | last post: by
6 posts views Thread by Spidah | last post: by
8 posts views Thread by Rob Ristroph | last post: by
3 posts views Thread by Scott Matthews | last post: by
reply views Thread by Ira Baxter | last post: by
2 posts views Thread by Zurab Davitiani | last post: by
12 posts views Thread by Sarah Tanembaum | last post: by
5 posts views Thread by Aziz | last post: by
reply views Thread by kermitthefrogpy | last post: by
reply views Thread by zattat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.