For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > August 2004 > Re: [PHP-INSTALL] Problem with configure









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-INSTALL] Problem with configure
Chris Hewitt

2004-08-31, 3:58 pm

On Tue, 2004-08-31 at 08:41, Juha Suni wrote:
> Hi!
>
> I'm trying to update our PHP installation to version 5. We have a Red
> Hat Linux apache 2.0 server. I tried to configure with previous
> configure-options that I checked using phpinfo(). The problem is, that
> the configure throws an error at "--with-apxs2=/usr/sbin/apxs" and
> says that "Apache version >= 2.0.44 is required." How is that possible
> since the older version was configured on apache 2.0 with same
> options? What is this APXS used for anyway?


The apxs part is needed if you wish to compile PHP as a DSO for Apache.
I have compiled PHP 5 on Fedora Core 2 using the previous configure
options and not had the error you get, but then it is httpd 2.0.49. I
can only assume that there is a good reason for this, which is probably
in the documentation.

It looks like you will either need to upgrade apache httpd or
investigate whether you can use it with PHP statically linked (for which
you will need to recompile httpd).

HTH
Chris
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com