Schlo_50 Posted January 23, 2008 Share Posted January 23, 2008 Hey guys, I have been working locally on a project using ODBC + MS Access. Today i tried to upload it onto my server (windows) which has an ODBC setup and the cruicial page which relies on the database doesn't load? The error is: Fatal error: Call to undefined function: odbc_connect() in.......line 2 Line 2 is: $odbc = odbc_connect('CentralProduct', 'demo/odbc/', '') or die('Could not Connect to ODBC Database!'); Any ideas? Link to comment https://forums.phpfreaks.com/topic/87352-script-working-locally-but-on-server-not/ Share on other sites More sharing options...
pdkv2 Posted January 23, 2008 Share Posted January 23, 2008 Check with the php.ini file and compare with the development machines php.ini file Link to comment https://forums.phpfreaks.com/topic/87352-script-working-locally-but-on-server-not/#findComment-446806 Share on other sites More sharing options...
ziv Posted January 23, 2008 Share Posted January 23, 2008 On the server, you don't have the odbc extension (or it's not loaded)... Link to comment https://forums.phpfreaks.com/topic/87352-script-working-locally-but-on-server-not/#findComment-446809 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.