Problems with fwconsole chown

NethServer Version: 7.9
Module: FreePBX

[root@nethserver ~]# fwconsole chwon
PHP Fatal error:  Class 'PDO' not found in /var/www/html/freepbx/admin/libraries/BMO/Database.class.php on line 19
Whoops\Exception\ErrorException: Class 'PDO' not found in file /var/www/html/freepbx/admin/libraries/BMO/Database.class.php on line 19
Stack trace:
1. Whoops\Exception\ErrorException->() /var/www/html/freepbx/admin/libraries/BMO/Database.class.php:19
[root@nethserver ~]# php -v
PHP 5.4.16 (cli) (built: Apr  1 2020 04:07:17) 
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
[root@nethserver ~]#

How can I execute the command with PHP5.6 ? thanks

scl enable rh-php56 fwconsole

https://docs.nethserver.org/en/v7/freepbx.html#fwconsole

2 Likes

Thank you very much :ok_hand:

De nada. :wink: