Controller: /nodeworx/phpextensions

Required Permissions

APACHE

Action: fail

Added in Version

7.10.0-2034

Description

Magic function - test for failure mechanism.

Action: listExtensions

Added in Version

7.10.0-2034

Description

List PHP Extensions

Sample Output

array (
  'status' => 0,
  'payload' =>
  array (
    0 =>
    array (
      'name' => 'php-bcmath',
      'description' => 'The php-bcmath package contains a dynamic shared object that will add support for using the bcmath library to PHP. ',
      'system-php' => '##LG_NOT_INSTALLED##',
      'opt-remi-php72' => '##LG_INSTALLED##',
      'opt-remi-php74' => '##LG_INSTALLED##',
      'opt-remi-php80' => '##LG_INSTALLED##',
    ),
    1 =>
    array (
      'name' => 'php-cli',
      'description' => 'The php-cli package contains the command-line interface executing PHP scripts, /usr/bin/php, and the CGI interface. ',
      'system-php' => '##LG_INSTALLED##',
      'opt-remi-php72' => '##LG_INSTALLED##',
      'opt-remi-php74' => '##LG_INSTALLED##',
      'opt-remi-php80' => '##LG_INSTALLED##',
    ),
    2 =>
    array (
      'name' => 'php-common',
      'description' => 'The php-common package contains files used by both the php package and the php-cli package. ',
      'system-php' => '##LG_INSTALLED##',
      'opt-remi-php72' => '##LG_INSTALLED##',
      'opt-remi-php74' => '##LG_INSTALLED##',
      'opt-remi-php80' => '##LG_INSTALLED##',
    ),
  ),
  'reply_code' => 205,
)

Action: reroute

Added in Version

7.10.0-2034

Description

Action to re-route from the current controller to a different one.

Input Parameters

Name

Type

Required?

Example Values

Default Values

Notes

controller

string

Yes

Index, Overview, Users, Lang, Apikey, Plugins, Twofactorauth, Notice, Siteworx, Shell, Packages, Backup, Import, Softaculous, Reseller, ResellerPackages, ResellerBandwidthhistory, Http, Phpextensions, Ftp, Sshd, MailMta, MailSmtp, MailSmtp2, MailSend, MailMda, MailMsa, MailDovecot, MailSpam, MailVirus, MailMailman, MailQueue, Mysql, MysqlRemote, MysqlPhpmyadmin, Dns, DnsZone, DnsRecord, DnsSync, Nfs, NfsExport, NfsMount, Health, Cron, Firewall, Ssl, Logs, Settings, Updates, Rrd, …

Action: win

Added in Version

7.10.0-2034

Description

Magic function - test for testing success mechanism.