PHP4.03pl1 on Freebsd 4.1.1
| From: | DaViper | Date: | Thu, 07 Dec 2000 08:13:39 +0000 |
| Subject: | PHP4.03pl1 on Freebsd 4.1.1 | ||
| Groups: | php.general php.install | ||
| Request: | Send a blank email to php-general+get-29073@lists.php.net to get a copy of this message | ||
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.
Thanks in advance
DaViper