#32682 [Opn->Fbk]: php5activescript doesn't work with php_mssql.dll

From: Date: Tue, 12 Apr 2005 17:24:58 +0000
Subject: #32682 [Opn->Fbk]: php5activescript doesn't work with php_mssql.dll
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-76932@lists.php.net to get a copy of this message
ID: 32682 Updated by: fmk@php.net Reported By: ondrej77 at centrum dot cz -Status: Open +Status: Feedback Bug Type: MSSQL related Operating System: Window XP PHP Version: 5.0.4 -Assigned To: +Assigned To: fmk New Comment: I'm getting the same error on PHP 5.1-dev, but only if I'm not using the extension. It looks like a problem on shutdown and I'll take a closer look. If you start using the extensin there is no errors/warnings and everything works fine. I've tested it wit this example: <job id="test"> <script language="PHPScript"> $WScript->Echo("Hello from " . phpversion()); $con = mssql_connect('localhost', 'sa', ''); $rs = mssql_query("select * from test", $con); if ($rs) { while ($row = mssql_fetch_assoc($rs)) { $WScript->Echo($row['a']); } mssql_free_result($rs); } </script> </job> Previous Comments: ------------------------------------------------------------------------ [2005-04-12 14:52:16] ondrej77 at centrum dot cz Description: ------------ I've registered php5activescript.dll (located in directory c:\php), put php-activescript.ini in directory c:\windows\system32 (where is located wscript.exe) and switched on extensions that I want use. I dont't have problem with php_gd2.dll, php_mysql.dll, php_pdf.dll, php_zip.dll. But when I uncomment php_mssql.dll and run any script I recieve error message: Instruction on address 0x733276ac is pointing at address in memory 0x00ff21a8. It is not possible to make operation: read. Press the OK button to end the program. (I tried to translate it - it's written in czech language ... language of my Windows) Note, that I haven't changed any parameters in MSSQL section - there are default values from php-recomended.ini. I also use php in common way (as a SAPI modul on Apache) and I dont have any problems with mssql library. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=32682&edit=1

« previous php.bugs (#76932) next »