Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By jeff00seattle on
Hi
I am about to do Drupal 6 module and theme development.
Is there a resource where I can find how to setup Zend Studio for Eclipse 6.1 to perform this development and debugging?
Thanks
Jeff in Seattle
Comments
I got it Zend Studio 6.1 debugger up and running...
I have:
I read all of the following:
And I got it working
NOTE: I had found that the ZendDebugger.so that came with Zend Studio for Eclipse 6.1.1 did not work, and would not expose with phpinfo.php:
Jeff in Seattle
Can you describe please how
Can you describe please how you got this error with Zend debugger? We will be happy to assist or solve the problem for the next version.
Did you try debug from Studio or did you try to load it in the web server? What OS and architecture (32/64 bit) are you using?
Amir
QA engineer at Zend
Details on ZendDebugger error
Hi Amir
Thank you for reading my submittal.
Red Hat Enterprise Linux Server release 5.3 (Tikanga)
Linux localhost.localdomain 2.6.18-128.1.1.el5 #1 SMP Mon Jan 26 13:58:24 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
Linux version 2.6.18-128.1.1.el5 (mockbuild@ls20-bc2-14.build.redhat.com) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)) #1 SMP Mon Jan 26 13:58:24 EST 2009
PHP Version 5.2.9
/usr/local/Zend/ZendStudioForEclipse-6.1.1
, tried to use ZendDebugger.so here:./plugins/org.zend.php.debug.debugger.linux.x86_5.2.15.v20080907/resources/php4/ZendDebugger.so
I tried loading it from php.ini, and apache restart logged failure upon in error.
http://downloads.zend.com/pdt/server-debugger/
Loaded fine and ZendDebugger info showed up in phpinfo()
Can I assume this is enough information?
Jeff in Seattle
Lots of good information
Lots of good information :)
Now I see the problem:
Zend studio and all the PHP and modules it supllies are 32 bit and intended for internal studio usage.
When you tried to load the 32 bit debugger inside the 64 bit Apache - you got the error. This is perfectly Ok considering the architecture mismatch.
The right way to solve it is exactly what you did, going to http://downloads.zend.com/pdt/server-debugger/ and downloading the right architecture debugger.
Do you think we can do something better to prevent this problem in the future?
Should I used this one?
Hi Mr. Zend QA
Should I used this one: ZendDebugger-5.2.14-linux-glibc23-x86_64.tar.gz?
As far as doing something better?
It would have been extremely helpful and less wasting of my time hunting around for the proper ZendDebugger binary if the following had occurred during Zend Studio 6.1 install:
In addition, since FireFox is the debug browser of choice, at install of Zend Studio:
Thanks
Jeff in Seattle