kumargoudham / phpdesktop

Automatically exported from code.google.com/p/phpdesktop
0 stars 0 forks source link

how to include sqlserver driver for mssql? #109

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
extracted the extension dll files from 
http://www.microsoft.com/en-us/download/details.aspx?id=20098, extract them to 
the "php" folder and edit the "php\php.ini" file:

; Extensions were moved from the ext/ directory to the root
; directory to fix problem loading extensions on Windows XP,
; see Issue 34 in PHP Desktop:
; https://code.google.com/p/phpdesktop/issues/detail?id=34

extension_dir = "./"

extension=php_curl.dll
extension=php_gd2.dll
extension=php_mysql.dll
extension=php_mysqli.dll
extension=php_openssl.dll
extension=php_pdo_mysql.dll
extension=php_pdo_pgsql.dll
extension=php_pdo_sqlite.dll
extension=php_pgsql.dll
extension=php_sqlite3.dll
extension=php_sqlsrv_53_nts.dll

Notice the last line. I also tried the other DLLs. The threadsafe DLLs requires 
a further DLL (php5ts.dll I think), but the non thread safe DLLs doesn't work. 
There is no error message, but I can't use the functions and in phpinfo() there 
is also no entry of "sqlsrv" or "mssql". 

Thank you =)

Original issue reported on code.google.com by web...@googlemail.com on 8 May 2014 at 5:53

GoogleCodeExporter commented 9 years ago
Please ask questions on the PHP Desktop Forum. I don't have any experience 
working with MSsql, so I don't know what other dlls are needed beside the mssql 
extension dll. But there may be others on the forum that might help you. As I 
remember there were one or two topics on the forum already, regarding mssql, so 
try searching.

Original comment by czarek.t...@gmail.com on 8 May 2014 at 5:58