Linux, DirectAdmin and Rouncube password save [closed]

I need to configure my email server in such way that my employees should change their password the first time they log-in. I have configured that everything , except for that password plugin that does not want to work. I have the following the config of password plugin.

 $config['password_driver'] = 'expect'; 
 $config['password_expect_params'] = '%o %u %P';
 $config['password_expect_command'] = '/var/www/html/roundcube/passwdupdater.sh';

The problem is that I get this in roundcube log file:

 [29-May-2025 17:37:40 America/New_York] PHP Warning:  popen() has been disabled for security reasons in /var/www/html/roundcubemail-1.6.9/plugins/password/drivers/expect.php on line 53 
[29-May-2025 17:37:40 America/New_York] PHP Warning:  fwrite() expects parameter 1 to be resource, null given in /var/www/html/roundcubemail-1.6.9/plugins/password/drivers/expect.php on line 54 
[29-May-2025 17:37:40 America/New_York] PHP Warning:  fwrite() expects parameter 1 to be resource, null given in /var/www/html/roundcubemail-1.6.9/plugins/password/drivers/expect.php on line 55 [29-May-2025 17:37:40 America/New_York] PHP Warning:  fwrite() expects parameter 1 to be resource, null given in /var/www/html/roundcubemail-1.6.9/plugins/password/drivers/expect.php on line 56
 [29-May-2025 17:37:40 America/New_York] PHP Warning:  pclose() expects parameter 1 to be resource, null given in /var/www/html/roundcubemail-1.6.9/plugins/password/drivers/expect.php on line 58

I tried to enable popen in /usr/local/… /disabled_php_functions

It did not help.

Any solutions?