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 |
|---|---|---|---|
|
|
Enables the specified Apache module. |
To enable the auth_basic Apache module: plesk bin optimization_settings -e auth_basic |
|
|
Disables the specified Apache module. |
To disable the auth_basic Apache module: plesk bin optimization_settings -d auth_basic |
|
Displays the status of all Apache modules. |
To see the status of all Apache modules: plesk bin optimization_settings -s |
|
|
|
Sets the Apache MPM mode. |
To set the Apache MPM mode to prefork: plesk bin optimization_settings --set-mpm prefork |
|
Displays the current Apache MPM mode |
To see the currently selected Apache MPM mode: plesk bin optimization_settings --get-mpm |
|
|
Displays the help page. |
To see the help page: plesk bin optimization_settings -h |