ID: 45026 User updated by: glillibridge at yahoo dot com Reported By: glillibridge at yahoo dot com Status: Bogus Bug Type: ODBC related Operating System: MS NT -PHP Version: 5.2.3 +PHP Version: 5.2.6 New Comment:
I have loaded php 5.2.6 and rerun my tests. I now get (occasionally) the error PHP has encountered an Access Violation at 034F10D0 Previous Comments: ------------------------------------------------------------------------ [2008-05-18 00:25:18] [EMAIL PROTECTED] Thank you for taking the time to report a problem with PHP. Unfortunately you are not using a current version of PHP -- the problem might already be fixed. Please download a new PHP version from http://www.php.net/downloads.php If you are able to reproduce the bug with one of the latest versions of PHP, please change the PHP version on this bug report to the version you tested and change the status back to "Open". Again, thank you for your continued support of PHP. And I suggest using PDO ODBC, it actually is working and maintained actively. ------------------------------------------------------------------------ [2008-05-16 23:28:17] glillibridge at yahoo dot com Description: ------------ first, phpinfo says the version is 5.2.3 We are trying to establish a connection to a MAS200 server (also on NT). This is the actual php line: $crs = odbc_pconnect("dsn=SOTAMAS90;company=LNC;UID=acs;PWD=acsg","",""); Sometimes it works and returns connection identifier. Most times it returns the message: PHP has encountered an Access Violation at 01C010D0 This uses an odbc source identified in the web server, using an internal IP. Reproduce code: --------------- $crs = odbc_pconnect("dsn=SOTAMAS90;company=LNC;UID=acs;PWD=acsg","",""); echo "<br>========" . odbc_error($crs) . "==========<br>" ; Expected result: ---------------- <br>========S000==========<br> Actual result: -------------- PHP has encountered an Access Violation at 01C010D0 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=45026&edit=1