Interworx CLI question

FYI: Interworx 7, CentOS 7.

I am using this script to create siteworx accounts, but once the account is created “php_available” it’s only checking php 5.6 and php 8 even though the others are installed on the system. maybe I am using this incorrectly?

nodeworx -u iworx -n -c Siteworx -a add
–master_domain mydomain.com
–uniqname=someuser
–password somepassword
–confirm_password somepassword
–master_domain_ipv4 199.XXX.XXX.XXX
–requires_password_change 0
–language en-us
–php_available /opt/remi/php56
–php_available /opt/remi/php73
–php_available /opt/remi/php74
–php_available /opt/remi/php80
–php_version /opt/remi/php56
–reseller 1
–encrypted n
–email [email protected]
–billing_day 1
–OPT_STORAGE 999999999
–OPT_BANDWIDTH 999999999
–OPT_EMAIL_ALIASES 999999999
–OPT_EMAIL_AUTORESPONDERS 999999999
–OPT_EMAIL_BOXES 999999999
–OPT_EMAIL_GROUPS 999999999
–OPT_FTP_ACCOUNTS 999999999
–OPT_MYSQL_DBS 999999999
–OPT_MYSQL_DB_USERS 999999999
–OPT_POINTER_DOMAINS 999999999
–OPT_SLAVE_DOMAINS 999999999
–OPT_SUBDOMAINS 0
–OPT_BACKUP 1
–OPT_CGI_ACCESS 0
–OPT_CRONTAB 1
–OPT_DNS_RECORDS 1
–OPT_MAILMAN 0
–OPT_SSL 1
–OPT_BURSTABLE 1
–OPT_SAVE_XFER_LOGS 0
–fpm_max_children 4
–fpm_max_requests 8192
–fpm_process_management ondemand
–fpm_start_servers 2
–fpm_min_spare_servers 1
–fpm_max_spare_servers 4
–fpm_process_idle_timeout 120
–restart_httpd 1
–output-style pretty

Hello–

You don’t need separate flags for each. Try this, instead:

--php_available /opt/remi/php56,/opt/remi/php73,/opt/remi/php74,/opt/remi/php80

Let me know if that helps!
-Jenna
Friendly Neighborhood InterWorx Support Manager