Recognition of SQL Server drives for db connection in PHP

Asked

Viewed 40 times

2

I’m having trouble connecting to the SQL Server database. I can’t install the drives to be recognized. On the Internet I’ve tried every kind of thing and nothing has worked. I downloaded the drives from the Microsoft website, I put it in the ext folder of php, I put the code in php.ini to recognize the . dll and it just doesn’t work! Does not appear in phpinfo().

  • Enabled TCP/IP of SQLSERVER

  • http://php.net/manual/en/ref.pdo-dblib.php

  • vc installed apache direct or some package like vertrigo, xampp?

  • I’m using Wamp. Since I’m starting now with SQL Server, I don’t know if this "TCP/IP" is already enabled or not. How can I enable if not enabled?

  • Which SQL Server driver did you try to install? from the not found driver? what is the error?

  • My PHP version is 5.6.25, the PHP Extension Build version is API20131226,TS,VC11. I downloaded the drives: php_pdo_sqlserver_56_ts and php_sqlserver_56_ts, I put the ones of the version 'nts' to see if it worked. In php when I try to connect to the database error appears saying that the drive is missing, and in phpinfo() these extensions do not appear.

  • 1

    You can assemble a step-by-step of what you have done so that other people can reproduce your problem and/or point out wrong or missing steps?

Show 2 more comments
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.