Skip to content

Commit 79f046f

Browse files
kaplunkrakjoe
authored andcommitted
Consider phpdbg as cli
* When configuring extensions, considers the PHPDBG SAPI as CLI thus allowing e.g. to have the pcntl extension available within PHPDBG. Signed-off-by: Samuele Kaplun <kaplun@protonmail.com>
1 parent 7af270e commit 79f046f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

acinclude.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -971,7 +971,7 @@ dnl ---------------------------------------------- Shared module
971971
dnl ---------------------------------------------- CLI static module
972972
[PHP_]translit($1,a-z_-,A-Z__)[_SHARED]=no
973973
case "$PHP_SAPI" in
974-
cgi|embed[)]
974+
cgi|embed|phpdbg[)]
975975
PHP_ADD_SOURCES($ext_dir,$2,$ac_extra,)
976976
EXT_STATIC="$EXT_STATIC $1;$ext_dir"
977977
;;

0 commit comments

Comments
 (0)