How to connect mssql with php with xampp

Discussion in 'Databases' started by prakash guptha, Feb 20, 2013.

  1. #1
    I am trying to connect SQL server via php in XAMPP.

    PHP MSSQL extension not loaded

    I have it running in XAMPP 1.8.1 on Windows 7.

    I am using PHP 5.4.7.

    I hve download the php_mssql.dll and placed in php extension folder and i have also changed the php.ini file like follows.

    extension=php_mssql.dll

    Now I restarting apache service. it is displaying two alert as

    -->The Program can't start because php4ts.dll is missing from your computer.
    -->The start up: unable to load dynamic library


    note : i am an individual php developer so i dont have server ,i am working on XAMPP.
     
    prakash guptha, Feb 20, 2013 IP
  2. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #2
    Are you sure you changed the right php.ini file? (Many beginners end up with more than one of them.) Also make sure you have no 'php4td.dll' line in the ini file.
     
    Rukbat, Feb 23, 2013 IP