Page 1 of 1

MSSQL Error

PostPosted: 19. June 2017 14:58
by LeighWhitlingNew
Hi There

I am getting the below error when visiting a webpage hosted via Xammp

Fatal error: Call to undefined function mssql_connect()

The same code/page is running on a different version of Xammp on a different machine and it runs fine so i know its not the coding. I remember i had to edit php.ini and add a mssql.dll to extensions but i have also done this to no avail.

Can someone supply a walk through or link please?

Re: MSSQL Error

PostPosted: 20. June 2017 09:56
by Nobbie
You cannot add mssql to your Xampp installation, it has been removed since PHP 7.0.0. See http://www.php.net/manual/en/intro.mssql.php

This feature was REMOVED in PHP 7.0.0.


and also

This extension is not available anymore on Windows with PHP 5.3 or later.