php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30485 CLI Error
Submitted: 2004-10-19 20:22 UTC Modified: 2005-03-20 18:04 UTC
From: jcastro at elnuevodia dot com Assigned:
Status: No Feedback Package: MSSQL related
PHP Version: 5.0.2 OS: Windows Xp
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jcastro at elnuevodia dot com
New email:
PHP Version: OS:

 

 [2004-10-19 20:22 UTC] 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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-10-19 21:19 UTC] helly@php.net
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.
 [2005-03-07 22:17 UTC] sniper@php.net
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


 [2005-03-20 18:04 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 [2007-09-24 12:12 UTC] hello at timperrett dot com
I also have this problem. Im using 5.2.4.4 and have IIS set up with 
virtual directories to my php applications. Everything works in the 
default site, but then when I try to access the virtual directories I 
get the same error in my even viewer.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Oct 07 09:01:27 2024 UTC