Posted January 23rd, 2008 by nire007
I previously owned "VS.PHP 2.4" for VS2005.
It worked great!
I uninstalled it.
I purchased "VS.PHP 2.4 Standalone"
I installed it
I registered it
I launched it for the first time and tried to start a project.
Everytime, the Apache server crashes.
In the event viewer i can see the following:
Faulting application apache.exe, version 2.0.49.0, time stamp 0x4068a0a1, faulting module ntdll.dll, version 6.0.6000.16386, time stamp 0x4549bdc9, exception code 0xc0000005, fault offset 0x00061a73, process id 0xa24, application start time 0x01c85dfa39beb371.
I am running Windows Vista Ultimate.
Any suggestions?
juanc says:
Are you using Php 4 or Php 5?
juanc says:
There seems to be an issue with XDebug on Php4. If you are using Php4, change the debug engine to DBG.
nire007 says:
Switching to the DBG engine instead of XDebug lets me run my applications.
I am currently using PHP4, however, I will be migrating to PHP5.
Is this a know bug where a fix will eventually get deployed?
"We've seen issues with DBG in the past, in particular with Php 5. XDebug delivers a better debugging experience than DBG and we hope you can benefit from this new feature."
juanc says:
When you move to Php5, you should use XDebug for debugging.
sz says:
I am running on XP and having the same problem with XDebug and Apache in V. 2,4,1,4263. I switched to DBG and it works fine. When running with XDebug I can actually step in the code for several steps, but then it bombs and kills Apache. If I comment out the XDebug from php.ini, it runs but does not step into the code as expected.
I do not know the detail differences between DBG and XDebug and what would I be missing. Does someone knows the differences in relation to VS.PHP? Thanks.
SZ
juanc says:
They both provide the same level of functionality. DBG is very robust on Php4 but crashes a lot on Php5. XDebug on the other hand is very stable on Php5.
In terms of functionality, they provide the same level for the most part. XDebug supports the local watch window and DBG does not. That's about the only difference you can see.
In the latest dev build, I changed the project defaults to use DBG in Php4 and XDebug in Php5.
sz says:
.
gdeconto says:
hmmmm. I'm not sure this is just a Vista issue.
after I finally got xdebug working on my workstation (we had issues because we debug in external mode), I thought I would put the debugger thru its paces.
I dont seem to be seeing the xdebug stability that everyone seems to be talking about.
I am seeing many Apache restarts when debugging my code in external mode; I am running XP fully service packed, with PHP 5.2.1 and Apache 2.2.4
Apache keep crashing consistently when I was single stepping thru the SimpleTest core code that I had setup to do unit testing. I also had trouble getting the value of certain variables; it would just give me null
When I switched back to DBG 2.15.5, the problems stopped. I tried switching back and forth several times, and rebooted my workstation, several times to make sure it wasnt something else.
I dont see anything in the apache logs that would indicate what happened or why.
juanc says:
You can enable loging on XDebug via the remotelog setting. That could help diagnose the problem.