php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3540 APXS error when trying to compile the PHP3 module
Submitted: 2000-02-20 20:48 UTC Modified: 2000-02-23 09:09 UTC
From: jeremy at mob dot net Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.14 OS: Redhat Linux 5.1
Private report: No CVE-ID: None
 [2000-02-20 20:48 UTC] jeremy at mob dot net
Here is my configure command: ./configure --with-mysql --with-apxs=/usr/sbin/apxs --enable-track-vars

Here is the error that I get during the compile (Make) process:

/usr/sbin/apxs -c -o libphp3.so  -I. -I.  -Wl,'-rpath /usr/local/lib/mysql' ./mod_php3.c libmodphp3-so.a -L/usr/local/lib  -L/usr/local/lib/mysql -lmysqlclient                             -ldb  pcrelib/libpcre.a -lpam -lm -ldl -lcrypt  -lresolv  -Lpcrelib -lpcre
apxs:Error: Unknown option: W
Usage: apxs -g -n <modname>
       apxs -q <query> ...
       apxs -c [-o <dsofile>] [-D <name>[=<value>]] [-I <incdir>]
               [-L <libdir>] [-l <libname>] <files> ...
       apxs -i [-a] [-n <modname>] <dsofile> ...
make: *** [libphp3.so] Error 1

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-02-23 09:09 UTC] sas at cvs dot php dot net
Please upgrade your Apache server. Older versions are not supported by PHP.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Oct 13 14:00:02 2026 UTC