By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,077 Members | 1,790 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,077 IT Pros & Developers. It's quick & easy.

installing php5 beta 4

P: n/a

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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
>>>>> "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.