You can't build PHP with multiple ODBC drivers or Driver Managers. For example, you can't use more than one of these configure
options:
--with-custom-odbc --with-iodbc --with-esoob --with-unixODBC --with-openlink
If you want to access multiple ODBC drivers from PHP, install the unixODBC Driver Manager and then tell the Driver Manager about your ODBC drivers.
You can build PHP with an ODBC driver and other database drivers such as Oracle or MySQL, as these drivers don't provide the ODBC API.