On Apr 24, 5:33 pm, "Peter H. Coffin" <hell...@ninehells.com> wrote:
> On Thu, 24 Apr 2008 14:12:33 -0700 (PDT), mechphi...@gmail.com wrote:
> > I have a FC 7 box with PHP 5.2.4 and I'm installing mcrypt. To do
> > that, I have to recompile PHP with the libmcrypt switches in the ./
> > configure.
> > So I downloaded the latest PHP source files, and using phpinfo() got
> > my current configure command (included below), took off the quotes,
> > added the new switches, and got an error unrelated to mcrypt:
>
> So how did you get php installed before?
>
I didn't. It was a pre-installed setup from a server hosting service.
(GoDaddy to be exact. No, ugh!, not my server. It's a co-worker's I'm
ing with. I wouldn't have a GoDaddy hosted server if they paid
me.)
>
>
>
> > -error-
> > checking for Apache 2.0 handler-module support via DSO through
> > APXS...
>
> > Sorry, I cannot run apxs. Possible reasons follow:
>
> > 1. Perl is not installed
> > 2. apxs was not found. Try to pass the path using --with-apxs2=/path/
> > to/apxs
> > 3. Apache was not built using --enable-so (the apxs usage page is
> > displayed)
>
> > The output of /usr/sbin/apxs follows:
> > ./configure: line 6669: /usr/sbin/apxs: No such file or directory
> > configure: error: Aborting
> > -end error-
>
> > I did a find and an updatedb/locate for apxs and this is all I could
> > find:
>
> > /var/www/manual/programs/apxs.html
>
> > Web searching for an answer all I can find are fixes to put the proper
> > location for apxs in the configure, but as you can see, I don't seem
> > to have the bin.
> > I also tried a "yum search apxs" and got nothing.
>
> > So, how did my PHP have apxs before if when I reconfigure now it can't
> > find it. And more importantly, how do I fix this?
>
> Maybe it didn't. Maybe it was a static, built-in Apache module.
>
> http://www.php.net/manual/en/install.unix.phpExample #2
>
Thanks, but I'm not sure what that example implies. That that was the
way Apache/PHP and apxs was originally installed? Or that's what I
need to do in some way regarding installing apxs or mcrypt (the
original issue.)
Thanks for replying!
-L
> --
> 26. No matter how attractive certain members of the rebellion are, there is
> probably someone just as attractive who is not desperate to kill me.
> Therefore, I will think twice before ordering a prisoner sent to my
> bedchamber. --Peter Anspach's list of things to do as an Evil Overlord