0

I would like to know the difference when using phpdismod/phpenmod with and without the -s parameter.

Wasn't able to find a documentation or man-page about this command(s).

I've already understood that I can differ between php-versions and SAPIs, also understood that it also works without the -s parameter.

But I don't think everyone would suggest the -s parameter just for fun.

Sascha
  • 615
  • 1
  • 9
  • 20

1 Answers1

2

The usage message reads

-s ALL|sapi_name

-s selects for which server API extensions are enabled or disabled. Use it to enable an extension for the CLI, but not FPM, for instance.

Peter
  • 29,454
  • 5
  • 48
  • 60