
- #Xampp install mssql driver how to#
- #Xampp install mssql driver install#
- #Xampp install mssql driver manual#
- #Xampp install mssql driver full#
Important Note 1: Due to some previous bugs it's highly recommendable to use PHP >= 5.2.6 and FreeTDS 0.82 + post-release patches ( more info).
#Xampp install mssql driver how to#
To know more about how to run Moodle with these drivers go to Using the Microsoft SQL Server Driver for PHP. When using IIS it is strongly recommended to use the official Microsoft PHP installer from, it should include the latest version of necessary drivers and it also simplifies future upgrades and configuration. This is a PHP extension that allows PHP scripts to read and write data on Microsoft SQL Server databases and it overcomes the problems with the native SQL Server extension that was previously bundled with PHP. In July 2008 Microsoft released a new SQL Server Driver for PHP. With all this properly configured, you can continue with a standard Moodle installation. Set the following settings in your php.ini fileĨ.
#Xampp install mssql driver install#
Choose one of the following specific sections for your server to install the mssql extension alternative installed and running properly on your PHP box.ħ. Unless you want to do it under IIS or some other way, the packages on the Moodle download page are a good solution.Ħ. If your DB name starts with a number, you may need to put quotes around the DB name in the query.ĥ.If you are viewing the DB in the Server Management Studio, disconnect from any servers in the "Object Explorer" (right-click > Disconnect), then create a "New Query" and run the ALTER command. To set READ_COMMITTED_SNAPSHOT, there must be no active connections to the database except for the connection executing the ALTER command.

#Xampp install mssql driver full#
You'll be asked to define the "sa" account password (it's the default System Administrator account which has full access to all databases by default).Ģ.

Make sure that you choose mixed authentication (Windows and local accounts) to keep things simpler later. ( A free limited version, SQL Server Express Edition is available for testing.) See the sections below for details about the various options.ġ. Moodle) to access to MSSQL DBs properly we have to install a mssql extension alternative to save us from the problems related above.

Basically such default extension has some limits that prevent us to use it at all (you can find more info about these problems here). While PHP comes with one, more or less, standard extension (mssql) that provides access to MSSQL databases, early we found some hard limits on it. Some of this may also apply if you wish to access an MSSQL server for external db authentication/enrollment.įirst of all, minimum required version of MSSQL has been stabilised to MSSQL 2005 (v.9).

Steps detailed below must be performed before installing Moodle itself.
#Xampp install mssql driver manual#
This short manual is suitable if you are trying to run Moodle using the SQL*Server (MSSQL) RDBMS.
