#20704 [Opn->Fbk]: reproducible crash

From: Date: Fri, 29 Nov 2002 04:04:20 +0000
Subject: #20704 [Opn->Fbk]: reproducible crash
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-26129@lists.php.net to get a copy of this message
ID: 20704 Updated by: iliaa@php.net Reported By: nytral@spamcop.net -Status: Open +Status: Feedback Bug Type: MSSQL related Operating System: Windows2000+SP3/Dual PHP Version: 4.3.0RC2 New Comment: Could you show the smallest possible version of the script, which causes the problem? Previous Comments: ------------------------------------------------------------------------ [2002-11-28 14:30:33] nytral@spamcop.net I just tried ISAPI with RC2; first script load is Ok, resubmit and it's an access violation. ------------------------------------------------------------------------ [2002-11-28 14:16:28] nytral@spamcop.net It's a flat PHP setup with only mssql module loaded. Since the last MSSQL2000 (SP2+hotfix) and MDAC 2.7, SQL queries returning more than a few results crash (either Access Violation using ISAPI, or no output at all with php-cgi.exe past the mssql_query() call). Each time I install a different php build, the first script load will output something before dying in the middle of returning results; reloading the page will give CGI errors. Weird thing is, calling php.exe on the command line works each time; calling php-cgi.exe doesn't (problem described above show up). I can't even move those scripts to Unix, since some are using mssql_next_result() which Sybase doesn't provide. Ouch! It looks like using PHP to talk to MSSQL is not a good idea on any OS. Thanks for your help, -Martin ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20704&edit=1

« previous php.bugs (#26129) next »