Xampp error

05/13/2014 12:46 accuface35#1
You must have the php_mssql library for Apache installed and enabled to connect to an MSSQL database. Uncomment the line that says extension=php_mssql.dll in your php.ini (XAMPP/WAMP only). This requires a restart of the Apache service to take effect.


i've seen all the threads through, but still error message. can someone please help me?
05/13/2014 21:23 kollegga#2
It is because you are using XAMPP that has PHP version 5.3+, but in PHP 5.3+ php_mssql.dll is no longer supported, you must use sqlsrv extension.

However, you'll need to modify your code for that.

But, for example if you want to use php_mssql.dll, you just need XAMPP with older version of PHP.

For example, I am using XAMPP 1.6.5 that has PHP 5.25 built in itself.

Everything should work fine after you install it. Maybe if you get same error on 1.6.5 version, search in "C:/XAMPP/php/php.ini" for "extension=php_mssql.dll" and remove semi-colon (";") in front of it if it has it.

Hope I helped ya.

Good luck.
05/13/2014 23:19 accuface35#3
thank you, its working fine :)
05/14/2014 08:44 kollegga#4
You're welcome, have fun :D
05/16/2014 18:56 Autrux#5
#moved