From: Wez Furlong Date: Thu, 13 Feb 2003 13:37:05 +0000 (+0000) Subject: MFH: cli should be allowed to use chroot() function. X-Git-Tag: php-4.3.2RC1~234 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ffb1961064e9b65469a5694ed4f6010f4d0469da;p=php MFH: cli should be allowed to use chroot() function. --- diff --git a/ext/standard/config.m4 b/ext/standard/config.m4 index 9d4fc7b985..5de9aa1722 100644 --- a/ext/standard/config.m4 +++ b/ext/standard/config.m4 @@ -233,7 +233,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