Odbc_connect not working

software development



I’m using code igniter (PHP) with ODBC to access my MSSQL server. Code igniter needs to use the functions odbc_connect() and odbc_pconnect(), but when try to use them I get on dreamhost I get a “undefined function odbc_connect” fatal error.

I’m running 5.3 fastCGI. I checked my php_info() and sure enough I see nothing mentioned about ODBC.

What changes do I need to make so that can use those functions. I’m hoping I can just edit my phprc file.