Using sql server 2008, have installed php 5.2 but cannot connect to the database.
In the php manual here: http://www.php.net/manual/en/mssql.installation.php
It seems to provide a solution and it says:
"The MSSQL extension is enabled by adding extension=php_mssql.dll to php.ini.
To get these functions to work, you have to compile PHP with --with-mssql[=DIR] , where DIR is the FreeTDS install prefix. And FreeTDS should be compiled using --enable-msdblib . "
Now, I did the first part easily enough but I haven't got a clue about the " you have to compile PHP with --with-mssql[=DIR] , where DIR is the FreeTDS install prefix. And FreeTDS should be compiled using --enable-msdblib . " part.
If anyone could explain that in plain English it would be super and very much appreciated!!!!!!
Thanks in advance!
Installing and configuring PHP / MSSQL with IIS
Moderator: General Moderators