Jump to content

Archived

This topic is now archived and is closed to further replies.

ronaldoRoey3

Fatal error on mssql and php

Recommended Posts

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

Share this post


Link to post
Share on other sites

Apparently, mssql_connect() doesn't exist.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

ok did that but still getting errors..

 

anyone know how to config user "sa" in sql express to allow connections??

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.