PHP 4.0 Bug #6786: PHP stability problem w/ mssql70.dll loaded
| From: | andy at Mindgate dot net | Date: | Sun, 17 Sep 2000 09:57:50 +0000 |
| Subject: | PHP 4.0 Bug #6786: PHP stability problem w/ mssql70.dll loaded | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-33387@lists.php.net to get a copy of this message | ||
From: andy@Mindgate.net
Operating system: NT 5/Win 2K
PHP version: 4.0.2
PHP Bug Type: MSSQL related
Bug description: PHP stability problem w/ mssql70.dll loaded
Even simple scripts like the one below *WITHOUT AN MSSQL QUERY* when reloaded repeatedly quickly
will either cause an access violation error or make php get stuck (i.e. CPU meter will show cycles
being consumed even though all pages have finished loading - note: I am using dual processor under
Win 2000 Pro). The only changes to the php.ini-optimized file were register_globals=On,
magic_quotes_gpc=on and extension=php_mssql70.dll
Simply loading php_mssql70.dll seems to be the culprit as without it the phenomena does not occur.
This is probably the cause of the other reported MS SQL bugs as well and seems to have nothing to do
with running a database query at all.
<html>
<body>
<?php
if ($pic!="off") {
print "
<A
HREF='testing.php?site=".$site."&pic=off&aud=".$aud."&dwg=".$dwg."&txt=".$txt."'>
<IMG NAME='turf_vault_05' SRC='images/turf-vault_05-over.gif' WIDTH=40
HEIGHT=31 BORDER=0></A>";
} else {
print "
<A
HREF='testing.php?site=".$site."&pic=on&aud=".$aud."&dwg=".$dwg."&txt=".$txt."'>
<IMG NAME='turf_vault_05' SRC='images/turf-vault_05.gif' WIDTH=40 HEIGHT=31
BORDER=0></A>";
}
if ($aud!="off") {
print "
<A
HREF='testing.php?site=".$site."&pic=".$pic."&aud=off&dwg=".$dwg."&txt=".$txt."'>
<IMG NAME='turf_vault_09' SRC='images/turf-vault_09-over.gif' WIDTH=35
HEIGHT=33 BORDER=0></A>";
} else {
print "
<A
HREF='testing.php?site=".$site."&pic=".$pic."&aud=on&dwg=".$dwg."&txt=".$txt."'>
<IMG NAME='turf_vault_09' SRC='images/turf-vault_09.gif' WIDTH=35 HEIGHT=33
BORDER=0></A>";
}
if ($txt!="off") {
print "
<A
HREF='testing.php?site=".$site."&pic=".$pic."&aud=".$aud."&dwg=".$dwg."&txt=off'>
<IMG NAME='turf_vault_17' SRC='images/turf-vault_17-over.gif' WIDTH=37
HEIGHT=36 BORDER=0></A>";
} else {
print "
<A
HREF='testing.php?site=".$site."&pic=".$pic."&aud=".$aud."&dwg=".$dwg."&txt=on'>
<IMG NAME='turf_vault_17' SRC='images/turf-vault_17.gif' WIDTH=37 HEIGHT=36
BORDER=0></A>";
}
?>
</body>
</html>