PHP 4.0 Bug #7989: "Access Violation" "persistent connection"
| From: | msvitok at elektra dot drp dot fmph dot uniba dot sk | Date: | Mon, 27 Nov 2000 08:25:56 +0000 |
| Subject: | PHP 4.0 Bug #7989: "Access Violation" "persistent connection" | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-39191@lists.php.net to get a copy of this message | ||
From: msvitok@elektra.drp.fmph.uniba.sk
Operating system: w2000 advanced server
PHP version: 4.0.3pl1
PHP Bug Type: IIS related
Bug description: "Access Violation" "persistent connection"
os: win2000 advanced server
web server: IIS 5 + ISAPI PHP 4.0.3pl1
db server: MS SQL 7 (same machine)
used script:
<?php
$conn = mssql_pconnect("sername","test","test") or die("error
when connecting");
$db = mssql_select_db ("Northwind", $conn) or die("error when selectin db");
?>
error msg:
PHP has encountered an Access Violation at 73342F43
When I press Refresh in IE, in 50% results it's ok and in 50% I get that error message. If I
change 'pconnect' to 'connect', no error apperars.
When I try Apache (module or cgi) instead of IIS, everything is ok.
--
Edit Bug report at: http://bugs.php.net/?id=7989&edit=1