From: Wez Furlong Date: Thu, 13 Feb 2003 13:35:55 +0000 (+0000) Subject: cli should be allowed to have the chroot() function. X-Git-Tag: RELEASE_0_5~1057 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b81ea669a0700fc819acefaf1fd1915f7d2c5df6;p=php cli should be allowed to have the chroot() function. --- 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