Check that your PHP architecture is the same than your ODBC connection, example if your ODBC is x64, your PHP should use x64 (PHP 7) by the other hand, if your ODBC is x86 you should use PHP 5.6.
CLICK HERE to find out more related problems solutions.