extension.exe: Extensions
The extension.exe
utility allows performing a number of operations on Plesk extensions, for example, creating and registering them in Plesk, installing extensions from ZIP files, and other.
Usage
extension.exe <command> [<param>][
<option_1> [<param>]
[<option_2>]
]
Example
The following command creates the extension named Mod_1 which does not contain installation scripts defined by the extension template:
plesk bin extension.exe -c Mod_1 -no-scripts
Commands
Command | Parameter | Description | Example |
---|---|---|---|
|
|
Creates a new extension based on the extension template. Note that created extensions are not automatically registered in Plesk.
|
To create a extension named Mod_1: plesk bin extension.exe -c Mod_1 |
|
|
Register a created extension in Plesk. After the registration, the extension appears in the Extensions list of the Server Administration Panel. |
To register the Mod_1 extension: plesk bin extension.exe -r Mod_1 |
|
|
Installs a extension from a ZIP file. |
To install a extension from the plesk bin extension.exe -i /tmp/mod.zip |
|
|
Installs an extension from an URL. |
To install an extension from the URL plesk bin extension.exe --install-url http://example.com/mod.zip |
|
|
Installs a extension from a .zip file or upgrades an already installed extension to a later version. |
To upgrade an already installed extension from the plesk bin extension.exe -g /tmp/mod.zip |
|
|
Installs a extension from an URL or upgrades an already installed extension to a later version. |
To install an extension from the URL plesk bin extension.exe --upgrade-url http://example.com/mod.zip |
|
|
Removes a specified registered extension from Plesk. |
To remove the Mod_1 extension: plesk bin extension.exe -u Mod_1 |
|
|
Exports a specified extension to a .zip file for further distribution. If you do not specify a ZIP file location with the |
To export the Mod_1 extension to a zip file: plesk bin extension.exe -p Mod_1 |
|
|
Executes a specified script defined in a certain extension. |
To run the plesk bin extension.exe -e Mod_1 post-install.php upgrade 1.4 |
|
|
Displays the list of installed extensions. |
To display the list of currently installed extensions: plesk bin extension.exe -l |
|
|
Displays help on the use of the utility. |
To view help on the use of this utility: plesk bin extension.exe -h |
|
|
Makes the extension active and accessible for users. |
To enable the Mod_1 extension: plesk bin extension.exe --enable Mod_1 |
|
|
Makes the extension inactive and inaccessible for users. |
To disable the Mod_1 extension: plesk bin extension.exe --disable Mod_1 |
|
|
Calls a command-line interface of the specified extension. |
To run the --list command of the git utility available for the Git Manager extension: plesk bin extension.exe --call git --list |
Options
Option | Parameter | Description | Example |
---|---|---|---|
|
|
A path to the directory where the exported extension should be located. For using with the |
To set the plesk bin extension.exe -p Mod_1 -destination c:\tmp |
|
|
Do not add resource files defined by the extension template to a created extension. The new extension will contain a meta file and installation scripts only. For using with the |
To create a extension named Mod_1 without resource files: plesk bin extension.exe -c Mod_1 -no-ui |
|
|
Do not add installation scripts defined by the extension template to a created extension. The new extension will contain a meta file and resource files only. For using with the |
To create a extension named Mod_1 without installation scripts: plesk bin extension.exe -c Mod_1 -no-scripts |
Leave your feedback on this topic here
If you have questions or need support, please visit the Plesk forum or contact your hosting provider.
The comments below are for feedback on the documentation only. No timely answers or help will be provided.