Hello everyone, I need to know how do I run the SQL Server functions in php, just as it works on XAMPP.
Just install PHP and I can not run the extension php_mssql.php.
please help me.
sorry for broken English.
;extension=php_mssql.dll
I believe the existing MS SQL driver has been superseded by the following one:
http://www.microsoft.com/sqlserver/2005/en/us/php-driver.aspx
(The PHP.net MS SQL page for PDO references this link as well: http://msdn.microsoft.com/en-us/sqlserver/ff657782.aspx)
And in the latest version of XAMPP for Windows (1.7.4) I'm not noticing any MSSQL extensions whatsoever so hopefully the XAMPP folks have already noticed this and are trying to include the new SQLSRV driver (normal and PDO) for XAMPP 1.7.5+.
The PHP.net PDO page seems to be a little out of date regarding this since there is no page at the moment documenting the driver or anything (it seems to be all on Microsoft's website), including the API reference:
http://msdn.microsoft.com/en-us/library/cc296152(v=sql.90).aspx
Hopefully this might help somebody on the more recent versions of XAMPP .
Fatal error: Call to undefined function sqlsrv_connect() in C:\xampp\htdocs\mssql\lib\SQLServer.php on line 5
Users browsing this forum: No registered users and 192 guests