0

I have downloaded, installed and activated "php_pdo_sqlsrv_56_nts.dll" and "php_sqlsrv_56_nts.dll" by moving to the ext directory of php5.6.31 and adding to php.ini the lines:

extension = php_sqlsrv_56_nts.dll extension = php_pdo_sqlsrv_56_nts.dll 

even with a non-thread-safe version the extensions still do not appear on phpinfo while they are active .. would I have forgotten something?

PS: I need the driver because I have an error "Undefined class constant PDO :: SQLSRV_ENCODING_UTF8"

Win 7 x64 Wamp 3.1.0 PHP 5.6.31 (version 3.2 sqlsrv)

Thank you all

img Wamp information - img Enable Ext PHP 5.6.31

13
  • You need the Thread Safe versions and not the NTS i.e. Not Thread Safe versions for WAMPServer Commented Sep 18, 2017 at 22:24
  • Also the microsoft.com/en-gb/download/details.aspx?id=20098 Commented Sep 18, 2017 at 22:29
  • thanks for your reply, I made the changes, the dll are activated but still not displayed in phpinfo I despair.. Commented Sep 18, 2017 at 23:03
  • I have been looking for 2 days on the web but I still do not understand why the extensions are active but not display in phpinfo .. I nevertheless followed all the prerequisites, would not it not better that I pass on wamp version previous wamp 3.1? Commented Sep 18, 2017 at 23:14
  • Have you read this stackoverflow.com/questions/28960139/… Just amend the directories to WAMPServer directories Commented Sep 19, 2017 at 7:55

1 Answer 1

0

I Fix my problem pdo_sqlsrv display in phpinfo

Thx RiggsFolly & Sqlsrv for PHP 5.6 on WAMP server

but now it's php_intl.dll' - Le module spécifié est introuvable. and icuuc57.dll missing but i solved my problem for sql_srv in phpinfo not display ext thx !!!!

Sign up to request clarification or add additional context in comments.

1 Comment

for fix problem with php_intl.dll i load file icu*.dll directly in httpconf as LoadFile "C:\wampTEST\bin\php\php5.6.31\icudt57.dll" LoadFile "C:\wampTEST\bin\php\php5.6.31\icuin57.dll" LoadFile "C:\wampTEST\bin\php\php5.6.31\icuio57.dll" ... not move bin/php to apache/bin

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.