diff options
author | Wez Furlong <wez@php.net> | 2003-02-13 13:35:55 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2003-02-13 13:35:55 +0000 |
commit | b81ea669a0700fc819acefaf1fd1915f7d2c5df6 (patch) | |
tree | a5014d974437cba085ef3c9f025c76c6e2fcaa8f | |
parent | 068c90bd1d2c82fcc52645e5309e1d970448e6ed (diff) | |
download | php-git-b81ea669a0700fc819acefaf1fd1915f7d2c5df6.tar.gz |
cli should be allowed to have the chroot() function.
-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 |