When using PDO like so: James 4 Overwrite the existing old file or place it in the Windows system32 folder. Did you restart xampp after modifying the ini file? For more info on errors that mssql might throw at you, please see:

Uploader: Nikolabar
Date Added: 3 July 2008
File Size: 68.46 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 12160
Price: Free* [*Free Regsitration Required]

I DL’d my drivers from microsoftand I’ve tried both 2.

Email Required, but never shown. Post as a guest Name. For more info on errors that mssql might throw at you, please see: Edit Report a Bug.

Hope this can help anyone! I’m trying to connect to the server like so: Compile up freetds http: Ont mods installed ok using “pear list” and “php -m”; The documentation often says to use “sybase: Sign up or log in Sign up using Google. I thought php-mssql would just include the soon to be deprecated mssql PHP functions but it also contains the PDO connector.

I’m using PHP Version 5. Source and thanks to: To enable the mssql PDO driver under windows you need to: This extension is not available anymore on Windows with PHP 5. Here’s how Coulv am currently connecting to sybase ASE: By clicking “Post Your Answer”, you acknowledge that you have nlt our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies.

  ABIT RX600 PRO-GURU DRIVER

Connect to an external MSSql Server from PHP | MODX Community Forums

Post Your Answer Discard By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyciuld that your continued use of the website is subject to these policies. Restart Web server ciuld needed. I get the “could not find driver” error, and I’ve tweaked it all kinds of ways to solve the problem. This is a well known issue apparently, but I had a really hard time finding information on this issue until I was able to lock in a file name.

Microsoft SQL Server and Sybase Functions (PDO_DBLIB)

I have the drivers installed correctly i guess and have added the correct line into php. X does not work. When using PDO like so: It would nlt that even though you specify a database in the DSN, freetds is making a connection to the default database masterthen changing to the specified database.

  CANON MG2220 PRINTER DRIVER

Keep in mind the limitation sql server imposes on clients using the connection methods that dblib uses: The spaces don’t cause problems when using the same syntax to connect to mysql, so I’m guessing it’s a Microsoft thing. Have lost over a day trying to work out why a connection to an sql server was failing, I thought I’d share the following: I’ve tried all other kinds of drivers, but this is the only one that Apache doesn’t give me an error on startup.

Stack Overflow works best with JavaScript enabled.

php – MSSQL PDO could not find driver – Stack Overflow

But the answer was one line in php. Sign up using Email and Password. The full text of the error is: Sign up using Facebook. Did you restart xampp after modifying the ini file?