ronaldoRoey3 Posted March 16, 2012 Share Posted March 16, 2012 Hi, im trying to open privat server and the reg.php is playing up and i donk know how to fix it.. Fatal error: Call to undefined function mssql_connect() in D:\AppServ\www\reg.php on line 115 < thats the error! pleas help me fixing this f*** problem Quote Link to comment https://forums.phpfreaks.com/topic/259076-fatal-error-on-mssql-and-php/ Share on other sites More sharing options...
Pikachu2000 Posted March 16, 2012 Share Posted March 16, 2012 Apparently, mssql_connect() doesn't exist. Quote Link to comment https://forums.phpfreaks.com/topic/259076-fatal-error-on-mssql-and-php/#findComment-1328272 Share on other sites More sharing options...
cpd Posted March 17, 2012 Share Posted March 17, 2012 I'm going to hazard a guess and say the MSSQL driver isn't installed with your php. You will need to download it from a third party source as Microsoft no longer support it, they've branched into sqlsrv (windows platform only) and a pdo ODBC (linux only) connection to Microsoft SQL server. However the ODBC method is still under development, can't remember if there's a stable relesase or not; I think there is. Quote Link to comment https://forums.phpfreaks.com/topic/259076-fatal-error-on-mssql-and-php/#findComment-1328511 Share on other sites More sharing options...
ronaldoRoey3 Posted March 18, 2012 Author Share Posted March 18, 2012 ok did that but still getting errors.. anyone know how to config user "sa" in sql express to allow connections?? Quote Link to comment https://forums.phpfreaks.com/topic/259076-fatal-error-on-mssql-and-php/#findComment-1328828 Share on other sites More sharing options...
cpd Posted March 19, 2012 Share Posted March 19, 2012 Assuming you've installed the drivers correctly, and your credentials are correct you should be able to log in... Configuring server admin to allow connections wont solve your problem. You've got a driver issue not a connection issue at the minute. Quote Link to comment https://forums.phpfreaks.com/topic/259076-fatal-error-on-mssql-and-php/#findComment-1328959 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.