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
– Bruno H.
http://php.net/manual/en/ref.pdo-dblib.php
– LeonanCarvalho
vc installed apache direct or some package like vertrigo, xampp?
– rray
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?
– Marlon Souza
Which SQL Server driver did you try to install? from the not found driver? what is the error?
– rray
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.
– Marlon Souza
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?
– Victor Stafusa