For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > February 2008 > RE: [PHP-INSTALL] apxs not found?









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] apxs not found?
Chip Burke

2008-02-21, 7:04 pm

The configure script is simply=20

../configure --with-apxs2=3D/usr/sbin/apxs --with-lib64=3Dlib64

I stripped it down to nearly no options to simplify trouble shooting.

And yes, I have the Fedora supplied httpd and httpd-devel packages =
installed
via yum.

Thanks!


-----Original Message-----
From: Keith Roberts [mailto:keith@karsites.net]=20
Sent: Thursday, February 21, 2008 3:07 PM
To: Chip Burke
Subject: Re: [PHP-INSTALL] apxs not found?

On Thu, 21 Feb 2008, Chip Burke wrote:

> To: php-install@lists.php.net
> From: Chip Burke <cburke@innova-partners.com>
> Subject: [PHP-INSTALL] apxs not found?
>=20
> I am trying to build PHP 5.2.5 on Fedora 8. The error I am getting is
>
> Sorry, I cannot run apxs. Possible reasons follow:
>
> 1. Perl is not installed 2. apxs was not found. Try to=20
> pass the path using --with-apxs2=3D/path/to/apxs 3. Apache=20
> was not built using --enable-so (the apxs usage page is=20
> displayed)
>
> The output of /usr/sbin/apxs follows: cannot open=20
> /httpd/build/config_vars.mk: No such file or directory at=20
> /usr/sbin/apxs line 201. configure: error: Aborting
>
> apxs is indeed installed at the location I specified in=20
> the configure script. However, when I try to run apxs=20
> manually, I get that same error.
>
> cannot open /httpd/build/config_vars.mk: No such file or=20
> directory at /usr/sbin/apxs line 201.
>
> This is on apache 2.2.8 and Perl 5.8.8.
>
> Any ideas?


What are your PHP configure script parameters?

Are you compiling PHP against the Fedora supplied httpd, or=20
one you compiled yourself?

Keith Roberts

-----------------------------------------------------------------
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-----------------------------------------------------------------
Sponsored Links







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

Copyright 2008 codecomments.com