php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28610 MSSQL horribly slow (ZTS mode only)
Submitted: 2004-06-02 16:38 UTC Modified: 2005-02-11 01:00 UTC
Votes:20
Avg. Score:4.8 ± 0.6
Reproduced:16 of 16 (100.0%)
Same Version:7 (43.8%)
Same OS:10 (62.5%)
From: michael dot lidgren at cypoint dot se Assigned:
Status: No Feedback Package: MSSQL related
PHP Version: 4.3.6 OS: Windows Server 2003
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: michael dot lidgren at cypoint dot se
New email:
PHP Version: OS:

 

 [2004-06-02 16:38 UTC] michael dot lidgren at cypoint dot se
Description:
------------
SQL queries take several seconds under the ISAPI module; with the same queries taking virtually no time at all using the CGI module. Same .ini, same everything except ISAPI vs CGI.

W2k3/IIS, PHP 4.3.6

Reproduce code:
---------------
mssql_connect(...);
mssql_query("SELECT * FROM any_table");


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-06-08 23:35 UTC] andy at advancethermal dot com
Experiencing the same problem with WindowsXP / Apache 2.0 / PHP 4.3.7 / MS SQL Server 2k (Evaluation Version).

Queries take about 3-4x longer through mssql_query than odbc_exec.
 [2004-10-08 17:24 UTC] john at appliedgroup dot com
I am having the same issue with W2K3/IIS and mysql.
Same problem with php 4.3.7 and 4.3.9
Even weirder is that only some systems on the network were affected????
Changing to CGI speeded everything up.
 [2004-11-11 14:51 UTC] extranet at skoda-auto dot de
Same Problem here, php ist extremely slow under Windows 2003 Server running in ISAPI Mode. CGI Speed it up but it doesnt reach Speed like running under Windows 2000. Any Help possible?

Output Buffering = On helps a lot but it is still slower than in windows 2000.
 [2004-11-28 06:09 UTC] cabadam at tamu dot edu
I've got the same thing here - except still a problem with PHP 5 (Windows 2003, ISAPI module).
 [2004-11-29 06:38 UTC] darpa at yandex dot ru
I have the problem with PHP 5.02,Windows 2003, ISAPI module.
 [2004-11-29 07:35 UTC] darpa at yandex dot ru
PROBLEM:  Very slow ISAPI (MSSQL 2000, Windows 2003, PHP 5.02)

SOLVED:

In PHp.INI I set:

output_buffering = 1500

or

output_buffering = on
 [2005-02-11 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, 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-2022 The PHP Group
All rights reserved.
Last updated: Wed Jul 06 08:05:45 2022 UTC