sqlsrv_connect giving me an internal server error

Discussion in 'HTML / PHP / JavaScript / CSS' started by Remnorz, Jan 17, 2011.

  1. Hello all!!

    I'm trying to connect to my database using sqlsrv_connect and when I try and load the .php page it just idle's for a while and gives me

    "500 - Internal server error.
    There is a problem with the resource you are looking for, and it cannot be displayed."

    Has anyone run into this problem before?
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    sorry.. never seen this problem before.. are you connecting to a sql server remotely?
     
  3. I found the problem, but now I'm having another issue, the php.ini doesn't have the mssql.dll enabled, and as such I can't program in php for my mssql 2008 database :(, is there a workaround, anyone?
     
  4. You can connect using the php MS SQL driver. Please view our KB
     

Share This Page