diff --git a/sapi/litespeed/README.md b/sapi/litespeed/README.md index e98a940b3df..19283f182e8 100644 --- a/sapi/litespeed/README.md +++ b/sapi/litespeed/README.md @@ -25,13 +25,13 @@ with LiteSpeed web server. ## Building PHP with LiteSpeed SAPI -You need to add `--with-litespeed` to the configure command to build PHP with +You need to add `--enable-litespeed` to the configure command to build PHP with LiteSpeed SAPI, all other SAPI related configure options should be removed. For example: ```bash -./configure --with-litespeed +./configure --enable-litespeed make ``` diff --git a/sapi/litespeed/config.m4 b/sapi/litespeed/config.m4 index c32420638d2..3a816a19bf4 100644 --- a/sapi/litespeed/config.m4 +++ b/sapi/litespeed/config.m4 @@ -1,7 +1,7 @@ AC_MSG_CHECKING(for LiteSpeed support) -PHP_ARG_WITH([litespeed],, - [AS_HELP_STRING([--with-litespeed], +PHP_ARG_ENABLE([litespeed],, + [AS_HELP_STRING([--enable-litespeed], [Build PHP as litespeed module])], [no])