Studio Web Debugger cannot be enabled

General discussion forum for the Zend Server - The full, commercial edition

Studio Web Debugger cannot be enabled

Postby garrettvd on Thu Jul 19, 2012 6:50 pm

Hi all,

I followed the installation PDF for Studio Web Debugger - Linux to the "T", but I cannot enable the Zend Debugger. echo'ing phpinfo() reveals no indication that Zend Debugger is enabled, and tests with the Eclipse PDT debug view have displayed no output. I am configuring the correct php.ini file, and have restarted my Apache2.

Any tips would be greatly appreciated. I am including my
php.ini
PHP INI file
(67 KiB) Downloaded 80 times
file for reference, as well as the output of my
phpinfo.doc
php iNFO
(253 KiB) Downloaded 121 times
As a note, I am running Ubuntu 12.04 32-bit OS.

Thanks,
garrettvd
 
Posts: 8
Joined: Thu Sep 24, 2009 3:51 am

Re: Studio Web Debugger cannot be enabled

Postby kentatzend on Thu Jul 19, 2012 7:04 pm

check for permission problems....
User avatar
kentatzend
 
Posts: 1781
Joined: Thu Dec 11, 2008 1:08 pm

Re: Studio Web Debugger cannot be enabled

Postby garrettvd on Thu Jul 19, 2012 8:12 pm

Interesting. I believe the permissions are okay. However, are there any particular files or folders I should check?
garrettvd
 
Posts: 8
Joined: Thu Sep 24, 2009 3:51 am

Re: Studio Web Debugger cannot be enabled

Postby kentatzend on Thu Jul 19, 2012 10:12 pm

you need to make sure that the Debugger library is readable by the web server user ID.
User avatar
kentatzend
 
Posts: 1781
Joined: Thu Dec 11, 2008 1:08 pm

Re: Studio Web Debugger cannot be enabled

Postby garrettvd on Fri Jul 20, 2012 2:50 pm

Hmm, but all the configuration and module files, along with my php.ini and apache2.conf have the same ownership, so I am not sure it's an issue of permissions / ownership.

Code: Select all
drwxr-xr-x 5 root root   4096 Feb  2 11:53 ..
-rw-r--r-- 1 root root  68109 May 18 14:55 php.ini.ucf-old
-rw-r--r-- 1 root root 191415 Jul 19 11:45 ZendDebugger.so
-rw-r--r-- 1 root root  68602 Jul 19 13:56 php.ini
drwxr-xr-x 2 root root   4096 Jul 20 09:33 .
garrettvd
 
Posts: 8
Joined: Thu Sep 24, 2009 3:51 am

Re: Studio Web Debugger cannot be enabled

Postby ericritchie on Fri Jul 20, 2012 3:04 pm

Hi Garret,

Can you take a look in the error log of the Apache server and see if there are any messages regarding the loading of the Debugger.so module? I get the feeling that there may be a compatibility issue between the verison of PHP and the debugger you are trying to load. Just a hunch though.

Regards,
Eric Ritchie.
User avatar
ericritchie
 
Posts: 119
Joined: Tue Feb 10, 2009 10:09 am

Re: Studio Web Debugger cannot be enabled

Postby garrettvd on Fri Jul 20, 2012 3:35 pm

ericritchie wrote:Hi Garret,

Can you take a look in the error log of the Apache server and see if there are any messages regarding the loading of the Debugger.so module? I get the feeling that there may be a compatibility issue between the verison of PHP and the debugger you are trying to load. Just a hunch though.

Regards,
Eric Ritchie.


Good call -- should have done that in the first place. A quick tail of the error log reveals the following:

Code: Select all
Failed loading /etc/php5/apache2/ZendDebugger.so:  libssl.so.0.9.8: cannot open shared object file: No such file or directory
Failed loading /etc/php5/apache2/ZendDebugger.so:  libssl.so.0.9.8: cannot open shared object file: No such file or directory
Failed loading /etc/php5/apache2/ZendDebugger.so:  libssl.so.0.9.8: cannot open shared object file: No such file or directory
Failed loading /etc/php5/apache2/ZendDebugger.so:  libssl.so.0.9.8: cannot open shared object file: No such file or directory
Failed loading /etc/php5/apache2/ZendDebugger.so:  libssl.so.0.9.8: cannot open shared object file: No such file or directory
Failed loading /etc/php5/apache2/ZendDebugger.so:  libcrypto.so.0.9.8: cannot open shared object file: No such file or directory
Failed loading /etc/php5/apache2/ZendDebugger.so:  libcrypto.so.0.9.8: cannot open shared object file: No such file or directory
Failed loading /etc/php5/apache2/ZendDebugger.so:  libssl.so.0.9.8: cannot open shared object file: No such file or directory
Failed loading /etc/php5/apache2/ZendDebugger.so:  libssl.so.0.9.8: cannot open shared object file: No such file or directory
Failed loading /etc/php5/apache2/ZendDebugger.so:  libssl.so.0.9.8: cannot open shared object file: No such file or directory
Failed loading /etc/php5/apache2/ZendDebugger.so:  libssl.so.0.9.8: cannot open shared object file: No such file or directory
Failed loading /etc/php5/apache2/ZendDebugger.so:  libssl.so.0.9.8: cannot open shared object file: No such file or directory
garrettvd
 
Posts: 8
Joined: Thu Sep 24, 2009 3:51 am

Re: Studio Web Debugger cannot be enabled

Postby garrettvd on Fri Jul 20, 2012 3:44 pm

Tried a few things:

- Performed apt-get install libssl0.9.8
- Attempted to symlink from /usr/lib/i386-linux-gnu/libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8, as suggested in various different places.

Not too sure what else to do; will need to do more research I guess.

Thanks,

-G.
garrettvd
 
Posts: 8
Joined: Thu Sep 24, 2009 3:51 am

Re: Studio Web Debugger cannot be enabled

Postby garrettvd on Fri Jul 20, 2012 7:21 pm

garrettvd wrote:Tried a few things:

- Performed apt-get install libssl0.9.8
- Attempted to symlink from /usr/lib/i386-linux-gnu/libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8, as suggested in various different places.

Not too sure what else to do; will need to do more research I guess.

Thanks,

-G.


Spoke too soon there; for some reason it now displays zend debugger information in PHP info :) Running a debug test in Eclipse also appears to be successful. However, my breakpoints seem to do nothing; Is there instructions on how to create these placeholders?
garrettvd
 
Posts: 8
Joined: Thu Sep 24, 2009 3:51 am

Re: Studio Web Debugger cannot be enabled

Postby ericritchie on Mon Jul 23, 2012 3:15 pm

Hi Garret,

I think I know what is going on. There are two "modes" of debugging where you can either get the files from the remote server or use local project files. If you are setting breakpoints in your local project files but then debug using files from the server then the breakpoints will not be found since they are technically set in a different files (I hope this is clear). You can tell if you are debugging with remote files because there will be a little globe symbol beside the file name in studio.

The best way to debug it to use the Studio Toolbar which you can download here: http://www.zend.com/en/products/studio/downloads?src=downloadb Then, with your project open, start a debug session via the toolbar (click on the debug button). This should do the trick. If this fails to work, click on "Extra stuff" (again on the toolbar) and select settings. Make sure that debug local copy is set.

I hope this helps you out!

Regards,
Eric Ritchie.
User avatar
ericritchie
 
Posts: 119
Joined: Tue Feb 10, 2009 10:09 am


Return to Zend Server

Who is online

Users browsing this forum: No registered users and 4 guests