optimization_settings: Apache Modules Management
The optimization_settings
utility is used for managing the Apache
modules in Plesk.
Usage
optimization_settings <command> [<locale_code>]
Example
To enable the auth_basic
Apache module.
plesk bin optimization_settings --enable-module auth_basic
Commands
Command | Parameter | Description | Example |
---|---|---|---|
--enable-module or -e |
<module>[,<module>] |
Enables the specified Apache module. |
To enable the auth_basic Apache module: plesk bin optimization_settings -e auth_basic |
--disable-module or -d |
<module>[,<module>] |
Disables the specified Apache module. |
To disable the auth_basic Apache module: plesk bin optimization_settings -d auth_basic |
--status or -s |
Displays the status of all Apache modules. |
To see the status of all Apache modules: plesk bin optimization_settings -s |
|
--set-mpm |
prefork|event |
Sets the Apache MPM mode. |
To set the Apache MPM mode to prefork: plesk bin optimization_settings --set-mpm prefork |
--get-mpm |
Displays the current Apache MPM mode |
To see the currently selected Apache MPM mode: plesk bin optimization_settings --get-mpm |
|
--help or -h |
Displays the help page. |
To see the help page: plesk bin optimization_settings -h |