PHP 4.0 Bug #4966: Access violation

From: Date: Sun, 11 Jun 2000 22:03:15 +0000
Subject: PHP 4.0 Bug #4966: Access violation
Groups: php.dev 
Request: Send a blank email to php-dev+get-21065@lists.php.net to get a copy of this message
From: michael@tapinternet.com Operating system: NT4 PHP version: 4.0.0 Release PHP Bug Type: MSSQL related Bug description: Access violation I'm getting an 'access violation' whenever I use the mssql_query function - actually, it seems to be most functions, except for connecting and selecting_db. The machine has SP6 I believe (might only be 5), but another one has SP6 and I get the same problem. $temp=mssql_connect("SERVER","db1","password");// or die($phperrmsg); $db=mssql_select_db("db",$temp) or die($phperrmsg); $q=mssql_query("select id from users"); This gives me PHP has encountered an Access Violation at 00000000 running $temp=mssql_connect("SERVER","db1","password");// or die($phperrmsg); $db=mssql_select_db("db",$temp) or die($phperrmsg); //$q=mssql_query("select id from users"); It works fine, but obviously I don't do anything except connect and select. Running THIS (with PCONNECT) $temp=mssql_pconnect("SERVER","db1","password");// or die($phperrmsg); //$db=mssql_select_db("db",$temp) or die($phperrmsg); //$q=mssql_query("select id from users"); Gives me PHP has encountered an Access Violation at 73342F43 A wholly different message from before, and ONLY using pconnect - not doing anything else. The php_mssql70.dll I'm using was from download.swwwing.com build date of 9-6-2000 (june 9, 2000) Also, the only way I can get the php_mssql70.dll to work AT ALL is to be using the PHP Version 4.0.1-dev version from download.swwwing.com as well - the standard distro from php.net (w32 binaries) NEVER worked with php_mssql70.dll. I can't believe I'm the only one with so many problems - the mailing list has people with issues similar to this as well it seems. Please help!

« previous php.dev (#21065) next »