Dear All,
Please help me to integrate the password plugin in my hosting hosted with cpanel.
I've configured the roundcube and password plugin as below.
I'm using roundcube version 0.9.0
Cpanel version cpanel11.
config.inc.php in password plugin directory.
$rcmail_config['password_driver'] = 'cpanel'
$rcmail_config['password_query'] = 'SELECT update_passwd(%c, %u)';
$rcmail_config['password_cpanel_host'] = 'xxx.com';
$rcmail_config['password_cpanel_username'] = 'xxxxxxx';
$rcmail_config['password_cpanel_password'] = '*********';
$rcmail_config['password_cpanel_port'] = 2096; // I have tried with port numbers 2082, 2083, 2095, 2096 I'm not sure which to use here. When I login to my control panel as xxx.com/cpanel it gives xxx.com:2093 with https and xxx.com:2092 with http
$rcmail_config['password_cpanel_ssl'] = false; // tried with true
$rcmail_config['password_cpanel_theme'] = 'x3';
main.inc.php in configs directory
$rcmail_config['plugins'] = array('password');
along with these setting i have copied the xmlapi.php from the following link
https://raw.github.com/CpanelInc/xmlapi-php/master/xmlapi.phpI'm not getting what i done wrong with these settings.
the below is error log I'm getting
when tried with $rcmail_config['password_cpanel_port'] = 2096;
[26-Apr-2013 07:55:58 America/Phoenix] PHP Warning: fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: unable to connect to xxx.com:2096 (Connection refused) in /home/content/05/10935505/html/easyarmmail/plugins/password/drivers/cpanel.php on line 66
when port number changes the log changes the port number at unable to connect to xxx.com:2082 as port number configured.
When i use
$rcmail_config['password_cpanel_ssl'] = true;
[26-Apr-2013 07:55:58 America/Phoenix] PHP Warning: fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: unable to connect to ssl://xxx.com:2096 (Connection refused) in /home/content/05/10935505/html/easyarmmail/plugins/password/drivers/cpanel.php on line 66
Can any one help please. It's urgent.
Thanks in to all.