diff options
-rw-r--r-- | ext/standard/config.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/config.m4 b/ext/standard/config.m4 index c2bb9f032e..683dc6e1ce 100644 --- a/ext/standard/config.m4 +++ b/ext/standard/config.m4 @@ -258,7 +258,7 @@ dnl AC_CHECK_FUNCS(getopt_long getopt_long_only) AC_CHECK_FUNCS(glob strfmon) -if test "$PHP_SAPI" = "cgi"; then +if test "$PHP_SAPI" = "cgi" -o "$PHP_SAPI" = "cli" -o "$PHP_SAPI" = "embed"; then AC_DEFINE(ENABLE_CHROOT_FUNC, 1, [Whether to enable chroot() function]) fi |