ID: 15632
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: MSSQL related
Operating System: Windows 2000
PHP Version: 4.1.1
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2002-02-20 14:16:09] [EMAIL PROTECTED]
Reopened.
------------------------------------------------------------------------
[2002-02-20 13:45:03] [EMAIL PROTECTED]
Hrmm, can't seem to reopen. The status box only shows 'Bogus'
------------------------------------------------------------------------
[2002-02-20 13:43:28] [EMAIL PROTECTED]
Sorry.
With the above configuration, calls to at least mssql_query(); result
in a PHP timeout. PHP apparently continues to run, or at least the
webserver thinks it is, and the users browser does not display a new
page until PHP times out. Behavior is weird, and an example is perhaps
weird.
<?php
mssql_connect("host","user","pass");
echo "Foo!"; #Outputs Foo!
<?php
mssql_connect("host","user","pass");
echo "Foo!"; #Echos nothing apparently
flush(); #Doesn't help;
$q = mssql_query("some query");
The first case works, the 2nd doesn't.
------------------------------------------------------------------------
[2002-02-20 06:18:38] [EMAIL PROTECTED]
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
------------------------------------------------------------------------
[2002-02-19 16:37:51] [EMAIL PROTECTED]
Webserver: IIS 5
SQL Server Ver: 2000
CGI version of PHP
Calling mssql_query() causes PHP to hang. It eventually times out.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15632&edit=1