Jump to content

sqlsrv driver issues


krazykev

Recommended Posts

Hi all,

 

this is driving me crazy - I must be doing something obviously wrong.  I want to load the Microsoft PHP PDO drivers.  I have checked my phpinfo and found the following:-

 

PHP Version 5.3.8

Loaded Configuration File C:\Program Files (x86)\PHP\php.ini

extension_dir                         C:\Program Files (x86)\PHP\ext

 

So I put the file 'php_pdo_sqlsrv_53_ts_vc9.dll' in the extension dir.

 

I then added the following line the correct php.ini file:-

 

;;;;;;;;;;;;;;;;;;;;;;

; Dynamic Extensions ;

;;;;;;;;;;;;;;;;;;;;;;

extension=php_pdo_sqlsrv_53_ts_vc9.dll

 

But when I check php info the sqlsrv driver does not appear to be loaded, not even after a reboot.  All I see is:

 

PDO drivers mysql, odbc, sqlite

 

Not sure what I have missed.  How can I tell if PHP has tried to load the sqlsrv drivers?

 

Thanks

 

Kev

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.