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? Quote 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 Quote 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)... Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.