Dec 3, 2008

Zend debugger goes 64 bit on Mac OS X

Finally Zend debugger is available as native 64 bit binary on Mac OS X.

Today Gadi Goldbarg (QA manager for Zend Studio) announced that Zend starts testing 64 bit version. I tested this version and it works great. It even works a little faster than 32 bit version to my taste (no benchmarks though).

The problem with absence of 64 bit debugger was that you had to run PHP command line also in the 32 bit mode ("arch -i386 php"), which is trully annoying if you run PHP often from shell. If you do not run PHP in 32 bit mode with old Zend debugger installed, you get warnings and cannot debug. Now it is all in history (thanks to Zend!)

There is an issue if you already use Zend debugger with Apache. It means that your Apache runs in 32 bit mode. So if you get 64 bit binary, put a path to it in the /etc/php.ini and relaunch Apache, you will see in phpinfo() that Zend debugger is loaded. No problems in /var/log/apache2/error_log either. But debugging will not work (as if the debugger is not present).

The solution is to switch Apache back to 64 bit mode. Depending on the method you used to make Apache 32 bit, you may either need to restore original Apache binary (/usr/sbin/httpd) or edit /System/Library/LaunchDaemons/org.apache.httpd.plist to get rid of the "arch -i386" in this file.

Notice that this is not a final official release. Zend is still testing it.

Zend did it great again. Thanks, Zend!

10 comments:

  1. Yea! No more \"arch -i386 /usr/sbin/httpd\"

    ReplyDelete
  2. FINALLY!!!! Works like a charme. I was close to step back from ZS, but now they are back on track.



    Cheers

    Peter

    ReplyDelete
  3. Take a look at :

    http://tech.groups.yahoo.com/group/ZendNeonGroup/message/3497

    we released 32-64 binary following your comment

    ReplyDelete
  4. Then give us the fucking .so file. We want to test it ourself!

    ReplyDelete
  5. Alex, you get it from that Zend news group. It is freely available for download there.

    ReplyDelete
  6. This is so typically Zend there finding anything useful from them is a hopeless. "you get it from that Zend news group. It is freely available for download there." is not helpful Dimitry please put a link. there are lots of Zend news groups and I cant find one with a beta debugger download.

    ReplyDelete
  7. Cannot join their group, if u post a link to download the debugger, that would be excellent. Ty.

    ReplyDelete
  8. Yeah... how about a download link. It's not nice to tease us with a link to a closed membership group with no way of joining.

    ReplyDelete
  9. As snow leopard is out, I'd also be interested in the 64bit zenddebugger.so file. I'd like to join the group but it doesn't appear to be open for just anyone to join (aka can't find where to join up at after I followed the link).

    ReplyDelete
  10. That group is not a closed membership, it is simply closed. All discussions are moved to Zend forums.

    ReplyDelete