Re: PHP4.03pl1 on Freebsd 4.1.1

From: Date: Thu, 07 Dec 2000 17:49:19 +0000
Subject: Re: PHP4.03pl1 on Freebsd 4.1.1
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-29172@lists.php.net to get a copy of this message
* DaViper (daviper@pandora.be) wrote: > Hi all > > I'm having problems installing PHP4.03pl1 on a freebsd box with apache > 1.3.14. I extracted the tarball and issued the following command: > "./configure --with-zlib=/usr/include/zlib.h --with-mysql > --with-apxs=/usr/local/apache/bin/apxs" > configure runs for about a minute, and then I get this error message: > === > Configuring SAPI modules > checking for AOLserver support... no > checking for Apache module support via DSO through APXS... > Usage: apxs -g [-S <var>=<val>] -n <modname> > apxs -q [-S <var>=<val>] <query> ... > apxs -c [-S <var>=<val>] [-o <dsofile>] [-D > <name>[=<value>]] > [-I <incdir>] [-L <libdir>] [-l <libname>] > [-Wc,<flags>] > [-Wl,<flags>] <files> ... > apxs -i [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ... > apxs -e [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ... > configure: error: Sorry, I cannot run apxs. Either you need to install Perl > or you need to pass the absolute path of apxs by using > --with-apxs=/absolute/path/to/apxs > === > > Anyone know how to get past this? I would like to compile php as a module > for apache, not built in. I tried to install PHP as a DSO module and ran into the same thing. mod_so was loaded, but for some reason, apxs kept reporting that. I eventually just compiled it into Apache as a static module, as I wasn't able to work around the above problem. It seems like the installer is passing apxs wrong params... Mike

« previous php.general (#29172) next »