RE: [PHP] Compile problems php 4.1.1

2002-01-15 Thread Rasmus Lerdorf

Redhat's apxs was broken years ago in RH 6.0 or some version like that.
But since then the apxs from the apache-devel package has been fine.

-Rasmus

On Tue, 15 Jan 2002, Simon Ritchie wrote:

> > I'm trying to compile php 4.1.1 and when it gets to the
> > --with-apxs option it errors out with the following:
> >
> > Sorry, I was not able to successfully run APXS.  Possible reasons:
> >
> > 1.  Perl is not installed;
> .
> .
> .
>
> Some systems (eg Red Hat Linux) come with a version of the apxs tool, but
> not the one that the PHP builder expects.  The builder is trying to use this
> apxs, but it doesn't work as it expects.
>
> Do a minimal build of apache from source code (without PHP) and install it.
> This installs a working apxs into /usr/local/bin.  Now build PHP, then build
> apache again, this time including the PHP module.
>
> In my system, the builder found the working apxs without help.  If yours
> does not, you have to tell the builder where to find it.
>
> Simon
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Compile problems php 4.1.1

2002-01-15 Thread Simon Ritchie

> I'm trying to compile php 4.1.1 and when it gets to the
> --with-apxs option it errors out with the following:
>
> Sorry, I was not able to successfully run APXS.  Possible reasons:
>
> 1.  Perl is not installed;
.
.
.

Some systems (eg Red Hat Linux) come with a version of the apxs tool, but
not the one that the PHP builder expects.  The builder is trying to use this
apxs, but it doesn't work as it expects.

Do a minimal build of apache from source code (without PHP) and install it.
This installs a working apxs into /usr/local/bin.  Now build PHP, then build
apache again, this time including the PHP module.

In my system, the builder found the working apxs without help.  If yours
does not, you have to tell the builder where to find it.

Simon


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Compile problems php 4.1.1

2002-01-14 Thread Rasmus Lerdorf

You don't mention which OS you are on, but usually apxs is found in the
apache-devel package.  You probably didn't install that.

-Rasmus

On Mon, 14 Jan 2002, Jay Paulson wrote:

> I'm trying to compile php 4.1.1 and when it gets to the --with-apxs option it errors 
>out with the following:
>
> Sorry, I was not able to successfully run APXS.  Possible reasons:
>
> 1.  Perl is not installed;
> 2.  Apache was not compiled with DSO support (--enable-module=so);
> 3.  'apxs' is not in your path.  Try to use --with-apxs=/path/to/apxs
> The output of apxs follows
> ./configure: apxs: command not found
>
> I've run the httpd -l command and I have the mod_so.c configured into apache as you 
>can see below
>
> Compiled-in modules:
>   http_core.c
>   mod_so.c
> suexec: enabled; valid wrapper /usr/sbin/suexec
>
> I then tried to find the "apxs" file on my machine and well it returns nothing.  
>Does anyone have any ideas on what I can do?
>
> Thanks..
>
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Compile problems php 4.1.1

2002-01-14 Thread Jay Paulson

I'm trying to compile php 4.1.1 and when it gets to the --with-apxs option it errors 
out with the following:

Sorry, I was not able to successfully run APXS.  Possible reasons:

1.  Perl is not installed;
2.  Apache was not compiled with DSO support (--enable-module=so);
3.  'apxs' is not in your path.  Try to use --with-apxs=/path/to/apxs
The output of apxs follows
./configure: apxs: command not found

I've run the httpd -l command and I have the mod_so.c configured into apache as you 
can see below

Compiled-in modules:
  http_core.c
  mod_so.c
suexec: enabled; valid wrapper /usr/sbin/suexec

I then tried to find the "apxs" file on my machine and well it returns nothing.  Does 
anyone have any ideas on what I can do?

Thanks..