ID: 30485 Updated by: [EMAIL PROTECTED] Reported By: jcastro at elnuevodia dot com -Status: Open +Status: Feedback Bug Type: MSSQL related Operating System: Windows Xp PHP Version: 5.0.2 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2004-10-19 21:19:19] [EMAIL PROTECTED] The short answer is don't use persistent connection in CLI. The long answer: It matters because the persistent connection layer gets initialized. Maybe there is a problem in reusing or storing the persistent connection. So most probably this is no direct CLI problem. ------------------------------------------------------------------------ [2004-10-19 20:22:50] jcastro at elnuevodia dot com Description: ------------ I am using adodb to make an update in sqlserver. the script uses 2 connections . One of them is not even use in the exmaple. If I uncomment the connection that is use, the program crash I GET IN EVENT VIEWER Faulting application php.exe, version 5.0.2.2,faulting module php5ts.dll, version 5.0.2.2, fault address 0x0003f640. ALSO IF I CHANGE THE PCONNECT INSIDE connectSybase() to a connect, IT DOES NOT CRASH. WHY WILL IT MATTER IF I AM NOT EVEN USING THE CONNECTION? Also if I change to php 4.3.9 it works , NO problems. Reproduce code: --------------- http://www.eldiainc.com/temp/debug.htm Actual result: -------------- Window with CLI encounter an error Faulting application php.exe, version 5.0.2.2,faulting module php5ts.dll, version 5.0.2.2, fault address 0x0003f640. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30485&edit=1
