Problem with installation OJS in Windows Server 2016

Hello,
i am trying to install ojs on a windows server 2016 but when I give the install button I get error 500 and the blank page.
I have performed some of the actions that appear in this forum, such as changing msql to msqli and trying to install by command line but it still does not work. The error that appears to me is the following: [Mon Sep 23 13:23:14.104086 2019] [php7:error] [pid 13152:tid 1884] [client ::1:50391] PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\ojs-3.1.2-1\lib\pkp\lib\adodb\drivers\adodb-mysql.inc.php:456\nStack trace:\n#0 C:\xampp\htdocs\ojs-3.1.2-1\lib\pkp\lib\adodb\adodb.inc.php(558): ADODB_mysql->_connect(‘localhost’, ‘root’, ‘’, ‘’)\n#1 C:\xampp\htdocs\ojs-3.1.2-1\lib\pkp\classes\db\DBConnection.inc.php(151): ADOConnection->Connect(‘localhost’, ‘root’, ‘’, NULL, false)\n#2 C:\xampp\htdocs\ojs-3.1.2-1\lib\pkp\classes\db\DBConnection.inc.php(126): DBConnection->connect()\n#3 C:\xampp\htdocs\ojs-3.1.2-1\lib\pkp\classes\db\DBConnection.inc.php(113): DBConnection->initConn()\n#4 C:\xampp\htdocs\ojs-3.1.2-1\lib\pkp\classes\db\DBConnection.inc.php(55): DBConnection->initCustomDBConnection(‘mysql’, ‘localhost’, ‘root’, ‘’, NULL, false, ‘utf8’)\n#5 C:\xampp\htdocs\ojs-3.1.2-1\lib\pkp\classes\install\PKPInstall.inc.php(76): DBConnection->__construct(‘mysql’, ‘localhost’, ‘root’, ‘’, NULL, false, ‘utf8’)\n#6 C:\xampp\htdocs\ojs-3.1.2-1\lib\pkp\classes\install\Installer.inc.php(178): PKP in C:\xampp\htdocs\ojs-3.1.2-1\lib\pkp\lib\adodb\drivers\adodb-mysql.inc.php on line 456, referer: http://localhost:8080/ojs-3.1.2-1/index.php/index/install

Could you tell me what to do to solve this error. Thank you.