Welcome Guest, Not a member yet? Register   Sign In
sqlsrv_connect() problem
#5

Hello,

I had same problem with following configuration,  

* Windows 8, 64bit
* SQLSRV30.exe ( which is containing SQL Server php DLL files )
*sqlncli.msi
* WAMP with 64 bit & PHP 5.5
* CodeIgniter 3.0.4
* SQL Server 2012 standard ( & Tested SQL Server 2014 express too )

and I fixed it with following configuration

* Remove WAMP 64 bit & Install 32 bit WAMP
* Install sqlncli.msi
* extract SQLSRV30.exe in somewhere in your pc
* in SQLSRV30 extracted files, find & copy php_sqlsrv_55_ts.dll  & php_pdo_sqlsrv_55_ts.dll in to WAMP\bin\PHP5.5.12\ext\
*register that 2 files into php.ini files which is in WAMP\bin\PHP5.5.12\
*Fully close WAMP & re-open again ( don't restart service , fully close from system tray right click/ exit )

It's solved my problem, it caused because of SQL server PHP drivers not running on 64 bit WAMP.
Reply


Messages In This Thread
sqlsrv_connect() problem - by microchip - 03-26-2015, 07:23 AM
RE: sqlsrv_connect() problem - by mwhitney - 03-26-2015, 10:22 AM
RE: sqlsrv_connect() problem - by microchip - 03-27-2015, 12:49 AM
RE: sqlsrv_connect() problem - by mwhitney - 03-27-2015, 06:39 AM
RE: sqlsrv_connect() problem - by umittas2000 - 01-26-2016, 03:45 AM



Theme © iAndrew 2016 - Forum software by © MyBB