MYSQL_ATTR_INIT_COMMAND - pls help

Hi guys, i moved an app on a new server and i get an error, i don’t know what to do anymore, pls help.

Undefined class constant ‘MYSQL_ATTR_INIT_COMMAND’ is the message

The app runs on the dev environment…

the details of the error:
trace “#0 /var/www/html/somajtehnic/dmxConnectLib/modules/dbconnector.php(12): lib\db\Connection->__construct(Object(lib\App), Object(stdClass), ‘internship’)\n#1 /var/www/html/somajtehnic/dmxConnectLib/lib/App.php(195): modules\dbconnector->connect(Object(stdClass), ‘internship’, NULL)\n#2 /var/www/html/somajtehnic/dmxConnectLib/lib/App.php(127): lib\App->execSteps(Object(stdClass))\n#3 /var/www/html/somajtehnic/dmxConnectLib/lib/App.php(153): lib\App->exec(Object(stdClass), true)\n#4 /var/www/html/somajtehnic/dmxConnectLib/lib/App.php(159): lib\App->execSteps(Object(stdClass))\n#5 /var/www/html/somajtehnic/dmxConnectLib/lib/App.php(127): lib\App->execSteps(Array)\n#6 /var/www/html/somajtehnic/dmxConnectLib/lib/App.php(116): lib\App->exec(Object(stdClass), false)\n#7 /var/www/html/somajtehnic/dmxConnectLib/lib/App.php(94): lib\App->exec(Object(stdClass))\n#8 /var/www/html/somajtehnic/dmxConnect/api/login.php(8): lib\App->define(Object(stdClass))\n#9 {main}”

Community Page
Last updated: