I need to connect to a Progress database via php I'm using the laravel 5.2 framework but the same documentation supports only the MySQL, Postgres, SQLite and SQL Server databases.
Searching I found very little about how to connect to this DB through PHP one of the few things I found was about connecting through the PDO so I made the code below.
$dsn = 'odbc:host=xxx.xx.xxx.x;dbname=minhabase;port=99999DataSource:minhadatasource;';
$user = 'usuario';
$password = 'minhasenha';
$pdo = new \PDO($dsn, $user, $password);
Change php.ini (enable Pdo_odbc)
extension=php_pdo_odbc.dll
With the code above the following error appears PDOException in PaginasController.php line 36:
SQLSTATE [IM002] SQLDriverConnect: 0 [Microsoft] [ODBC Driver Manager] Data source name not found and no default driver specified
Does anyone have any tips on how to solve it? or someone has already made connection to this db through php