summaryrefslogtreecommitdiff
path: root/sapi/apache
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-11-13 12:43:44 +0000
committerSascha Schumann <sas@php.net>2000-11-13 12:43:44 +0000
commit04f180b08acbfd2d176685a160b8d678780af428 (patch)
treefd3973a3c0f152d844f903a48b391e3406bdf99d /sapi/apache
parent8658cace1639ecdea3a57e59bc10bde46e7490fe (diff)
downloadphp-git-04f180b08acbfd2d176685a160b8d678780af428.tar.gz
More verbose error message for non-working apxs case
Diffstat (limited to 'sapi/apache')
-rw-r--r--sapi/apache/config.m46
1 files changed, 5 insertions, 1 deletions
diff --git a/sapi/apache/config.m4 b/sapi/apache/config.m4
index 664ee281a5..20dc9b3b0d 100644
--- a/sapi/apache/config.m4
+++ b/sapi/apache/config.m4
@@ -32,7 +32,11 @@ AC_ARG_WITH(apxs,
else
AC_MSG_RESULT()
$APXS
- AC_MSG_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])
+ AC_MSG_RESULT([Sorry, I was not able to successfully run APXS. Possible reasons:])
+ AC_MSG_RESULT([1. Perl is not installed;])
+ AC_MSG_RESULT([2. Apache was not compiled with DSO support (--enable-module=so);])
+ AC_MSG_RESULT([3. 'apxs' is not in your path.])
+ AC_MSG_ERROR([;])
fi
APXS_LDFLAGS="@SYBASE_LFLAGS@ @SYBASE_LIBS@ @SYBASE_CT_LFLAGS@ @SYBASE_CT_LIBS@"