Zend Debugger will not load
Greetings,
I'm trying to set up remote PHP debugging with Zend Debugger (I tried installing Xdebug, but it conflicts with ionCube Loader). I've followed the instructions for Linux. For example, I've added the following lines to the end of /etc/php.ini:
PHP Code:
zend_extension=ZendDebugger.so
zend_debugger.allow_hosts=173.181.57.148
zend_debugger.expose_remotely=always
I don't have the full path to ZendDebugger.so because it's in extension_dir (/usr/lib64/php/modules).
After restarting Apache, there isn't anything different in phpinfo(). Also, I can't find any problems in the Apache error log (/var/log/httpd/error_log). Does anyone have experience with this sort of thing?
Thanks,
Shane.
Zend Debugger will not load
PHP says that extensions in extension_dir are dynamically loaded. However, I added the full path, just to be safe:
PHP Code:
zend_extension=/usr/lib64/php/modules/ZendDebugger.so
I'm running CentOS 5.5 x64.
I can't set up local debugging because I don't have PHP installed on my laptop. And I don't think I even want to try installing PHP on Windows, because I want to debug in the same environment that the users will be using.
If the debugger isn't loading, shouldn't there be an error message in a log file somewhere? I've already checked the Apache logs (/var/log/httpd/) but couldn't find anything.
If I were to actually get it loaded, there wouldn't be any other configuration changes, except for my local Aptana installation. I don't believe it would conflict with Plesk.
Thanks,
Shane.
Zend Debugger will not load
Quote:
Originally Posted by
jeremya
Ah, this may also help. Try running "PHP -m" to see if there are any issues with your modules.
I was able to see the error message by using "php -m", which was:
Code:
Failed loading /usr/lib64/php/modules/ZendDebugger.so: libssl.so.0.9.8: cannot open shared object file: No such file or directory
Now that I had an actual error message, I could start troubleshooting...
It appears that Zend Debugger looks for the libssl.so.0.9.8 Shared Object, which is actually a very old version. For some reason it doesn't see the current version, libssl3.so. I was able to do a work-around by creating a symlink between the two. An actual fix would be up to Zend to do.
Thanks for all the help.
Shane.