|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20704 reproducible crash
Submitted: 2002-11-28 14:16 UTC Modified: 2002-12-15 01:00 UTC
From: nytral at spamcop dot net Assigned:
Status: No Feedback Package: MSSQL related
PHP Version: 4.3.0RC2 OS: Windows2000+SP3/Dual
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
33 - 5 = ?
Subscribe to this entry?

 [2002-11-28 14:16 UTC] nytral at spamcop dot 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,


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-11-28 14:30 UTC] nytral at spamcop dot net
I just tried ISAPI with RC2; first script load is Ok,  
resubmit and it's an access violation.
 [2002-11-28 22:04 UTC]
Could you show the smallest possible version of the script, which causes the problem?
 [2002-11-28 22:05 UTC] nytral at spamcop dot net
Good news: 4.2.3 doesn't crash so far. I upgraded because after some time I would randomly get Access Violations. But I prefer to have a few here and there than 100% of the time <g>.
 [2002-11-29 00:58 UTC]
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.

 [2002-12-15 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over 2 weeks, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 21 12:01:29 2024 UTC