Chapter 90: Controller: /siteworx/overview Up Part III: SiteWorx API Spec Chapter 92: Controller: /siteworx/simplescripts 

91 Controller: /siteworx/prefs

Required Permissions "PREFERENCES"
Action: fail
Added in version n/a
Description Magic function - test for failure mechanism.
Action: phpOptions
Added in version 6.0.8-1363
Description Change PHP Options.
Input Parameters
Name Type Notes Required?
default_php_version string Help Entry
The version of PHP pre-populated in forms. Changing this value has no effect on any domain already in existence, but does change the version of PHP used at the command line.
Example Values
/opt/remi/php71
Example Default Value
/opt/remi/php71
No*
* indicates that it’s actually required, but probably already has a valid default value
Action: reroute
Added in version n/a
Description Action to re-route from the current controller to a different one.
Input Parameters
Name Type Notes Required?
controller string Example Values
Index, Overview, Email, EmailBox, EmailAlias, EmailGroup, EmailAutorespond, DomainsSlave, DomainsPointer, DomainsSub, DomainsPhp, Dns, Ssl, SslKey, SslChain, SslCrt, SslCsr, Ftp, FtpSessions, MysqlDb, MysqlUser, MysqlPerms, Cron, Htaccess, Simplescripts, Users, Logs, Twofactorauth, EmailRemotesetup, EmailFilters, EmailSpamprefs, EmailSpf, EmailDomainkeys, Backup, BackupSchedule, Prefs, Notice, Logout
Yes
Action: win
Added in version n/a
Description Magic function - test for testing success mechanism.
 Chapter 90: Controller: /siteworx/overview Up Part III: SiteWorx API Spec Chapter 92: Controller: /siteworx/simplescripts 

(C) 2018 by InterWorx LLC