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
Have you experienced this issue?
Rate the importance of this bug to you:

 [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".
 [2022-10-29 02:40 UTC] Elise at jeep dot com
While waiting for a solution of the bug, people can find out what Jeep Easter eggs are here: (https://vascarabag.com/what-are-jeep-easter-eggs-how-to-find-them-on-jeeps/)github.com
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 21:01:27 2024 UTC