Pages

Tuesday, September 18, 2012

Install MSSQL to wamp server [Resolved]


Install lower version of wamp server (Like 5.2.2)

After installing wamp server

Open php.ini file than activate below extension
from ;extension=php_mssql.dll to extension=php_mssql.dll


and than restart wamp server


now create one testmassql.php file in www directory
and
write blow code

<?php

    if (function_exists('mssql_connect'))
    {
        echo "Okay, fn is there";
    }
    else
    {
        echo "Hmmm .. fn is not even there";
    }

?>





No comments: