ActiveState Powered by ActiveState

ActiveState Community


Can't debug PHP 4.3.9. What version CAN I debug?

Posted by cchubb on 2008-04-18 08:14
OS: Windows

I am trying to get the PHP debugging working on Komodo version 4.3.2. When I try to set up the PHP debugging it tells me that "The version of the selected PHP executable (4.3.9) is not supported by Komodo".

What version of PHP 4 IS supported by Komodo 4.3.2? I need to run PHP4 on my development machine in order to run and develop against legacy code and we are still running on PHP4. I would change that if I could, but I can't.

jeffg | Fri, 2008-04-18 15:20

It seems that the earliest version of PHP 4.3 we support is the last one, 4.3.11. It also seems that there are fixes in 4.3.11 that make xdebug built for that version not work 100% on previous versions of 4.3. Unsure about that, but that is what I remember about this issue from a few years ago. Can you install 4.3.11 instead? Or better, 4.4.

--
JeffG

cchubb | Fri, 2008-04-18 16:10

I can live with 4.3.11. I doubt that my scripts will suffer between .11 and .9. I just didn't want to have to move to 5.0 in order to use the debugger. Ill upgrade. I jsut want to be as close to the production environment as possible.

jeffg | Mon, 2008-04-21 08:14

The only differences between .9 and .11 should be bug fixes, so unless your code is *relying* on buggy behavior, you should be fine. 4.4 is also an option, and has a few improvements, but keep in mind PHP 4 is no longer supported by the PHP Group, so whoever manages your production environment should at least be considering a transition plan.

--
JeffG

cchubb | Mon, 2008-04-21 08:41

I am glad that you still support the 4.3 version at all. I know that the version is old, and we have been wrapping a lot of code in version wrappers and actually programming against the newer code, with some function calls to override the new syntax and replace it with the old syntax, mostly in the Oracle OCI wrappers.

I installed 4.3.11 and it is debugging famously now. Thank you. Step through and everything. I have only been using it for one day and I am really starting to like Komodo.

-->