#15632 [Fbk->NoF]: MSSQL querys cause major problems
| From: | php-bugs at lists dot php dot net | Date: | Mon, 23 Dec 2002 07:00:02 +0000 |
| Subject: | #15632 [Fbk->NoF]: MSSQL querys cause major problems | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-28243@lists.php.net to get a copy of this message | ||
ID: 15632
Updated by: php-bugs@lists.php.net
Reported By: tyler@coastergames.net
-Status: Feedback
+Status: No Feedback
Bug Type: MSSQL related
Operating System: Windows 2000
PHP Version: 4.1.1
New Comment:
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".
Previous Comments:
------------------------------------------------------------------------
[2002-12-07 01:52:10] iliaa@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
------------------------------------------------------------------------
[2002-04-20 19:56:55] martijn@ideeweb.nl
After some hasling with the configuration, I have found a solution (for
both mod_php and CGI) in setting the mssql.compatability_mode option to
'Off':
mssql.compatability_mode = Off
I also noticed this bugreport, with the same solution:
http://bugs.php.net/bug.php?id=15890
------------------------------------------------------------------------
[2002-04-20 19:06:29] martijn@ideeweb.nl
I experience the same problem using Apache 1.3.20 on Windows 2000.
The bug shows with mod_php and PHP as CGI (both 4.1.2).
SQL Server 2000 (Dev. Ed.) is installed on the same machine.
Connecting to the server and selecting a database is no problem, but
any call to mssql_query() causes PHP to crash. I find no messages in
the errorlog (except for a 'Premature end of script headers' with the
CGI version).
Interesting is the fact that mssql_query() behaves as expected (no
errors) only if the query returns 0 rows.
------------------------------------------------------------------------
[2002-02-20 17:09:38] tyler@coastergames.net
Additonal info: This occurs under apache as well, but I get an internal
script error.
The problem occurs when a call to mssql_query matches at least one row.
If a query does not match anything, PHP does not crash. But if it does,
it crashes.
------------------------------------------------------------------------
[2002-02-20 14:16:09] sander@php.net
Reopened.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/15632
--
Edit this bug report at http://bugs.php.net/?id=15632&edit=1