You cannot build PHP with multiple ODBC drivers or Driver Managers. E.g. you cannot use any two of the configure options from the list below:
--with-custom-odbc --with-iodbc --with-esoob --with-unixODBC --with-openlink
If you want to access multiple ODBC drivers from PHP , the best method is to install the unixODBC Driver Manager and then tell the unixODBC 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 do not provide the same ODBC API.