Skip to main content
Version: 7.x

ispmanager

Source

This recipe for work with ISPManager Lite panel by API.

Configuration#

ispmanager_owner#

Source

Default value
'www-root'

ispmanager_doc_root#

Source

Default value
'/var/www/' . get('ispmanager_owner') . '/data/'

ispmanager#

Source

ISPManager default configuration

Default value
[    'api' => [        'dsn' => 'https://root:password@localhost:1500/ispmgr',        'secure' => true,    ],    'createDomain' => NULL,    'updateDomain' => NULL,    'deleteDomain' => NULL,    'createDatabase' => NULL,    'deleteDatabase' => NULL,    'phpSelect' => NULL,    'createAlias' => NULL,    'deleteAlias' => NULL,]

vhost#

Source

Vhost default configuration

Default value
[    'name' => '{{domain}}',    'php_enable' => 'on',    'aliases' => 'www.{{domain}}',    'home' => 'www/{{domain}}',    'owner' => get('ispmanager_owner'),    'email' => 'webmaster@{{domain}}',    'charset' => 'off',    'dirindex' => 'index.php uploaded.html',    'ssi' => 'on',    'php' => 'on',    'php_mode' => 'php_mode_mod',    'basedir' => 'on',    'php_apache_version' => 'native',    'cgi' => 'off',    'log_access' => 'on',    'log_error' => 'on',]

ispmanager_session#

Source

Storage

ispmanager_databases#

Source

Default value
[    'servers' => [],    'hosts' => [],    'dblist' => [],]

ispmanager_domains#

Source

ispmanager_phplist#

Source

ispmanager_aliaslist#

Source

Tasks#

ispmanager:init#

Source

Initialisation.

ispmanager:db-server-list#

Source

Take database servers list.

ispmanager:db-list#

Source

Take databases list.

ispmanager:domain-list#

Source

Take domain list.

ispmanager:db-create#

Source

Create new database.

ispmanager:db-delete#

Source

Delete database.

ispmanager:domain-create#

Source

Create new domain.

ispmanager:get-php-list#

Source

Get allowed PHP modes and versions.

ispmanager:print-php-list#

Source

Print allowed PHP modes and versions.

ispmanager:domain-php-select#

Source

Switch PHP version for domain.

ispmanager:domain-alias-create#

Source

Create new domain alias.

ispmanager:domain-alias-delete#

Source

Delete domain alias.

ispmanager:domain-delete#

Source

Delete domain.

ispmanager:process#

Source

Auto task processing.