|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-05-28 09:12 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 22 07:00:01 2025 UTC |
If there was a problem running APXS at configure time, it is re-run to generate a visible error message. However the script forgets to add the correct command-line parameters; as a result you always get the default APXS usage page instead of a report of what the error actually was. The following patch fixes it: --- php-4.3.1/sapi/apache/config.m4.orig Thu Jul 25 19:37:16 2002 +++ php-4.3.1/sapi/apache/config.m4 Wed May 28 13:51:44 2003 @@ -26,7 +26,7 @@ AC_MSG_RESULT([2. Apache was not compiled with DSO support (--enable-module=so);]) AC_MSG_RESULT([3. 'apxs' is not in your path. Try to use --with-apxs=/path/to/apxs]) AC_MSG_RESULT([The output of $APXS follows]) - $APXS + $APXS -q CFLAGS AC_MSG_ERROR([Aborting]) fi Without this patch, all you see is: 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> ... which is not very helpful.