I need to load a PHP extension (DBG), and haven't been successful so far. Looking at the PHP Configure Command according to PHPInfo, I need to at least remove the two options
--disable-debug
--enable-debugger
but I can not find any instructions on how to do this short of recompiling PHP (which of course is not an option on SME AFAIK).
I am running SME Server 5.1.2 (with PHP 4.0.6).
I don't get any errors, but there is nothing in the PHPInfo screen/output that mentions DBG - and AFAIK, there should be.
Can anyone please help?
I have searched high and low for instructions that may be applicable, but nothing seems to address the no-compile, no-build scenario, nor have I been able to determine if there are any SME specific or other things I need to do. (Templates? config setprop? httpd.conf?)
What I have done:
* Downloaded, expanded, copied and renamed the precompiled dbg.so-4.0.6 to /usr/lib/php4/dbg.so (same directory as mysql.so, ldap.so, and imap.so). This is the configured extension_dir.
* Changed owner and group to root, and set permission 755. (Matches the other .so files).
* Edited php.ini and added to the [Extensions] section:
extension=dbg.so
* Edited php.ini and added/modified [debugger] section:
debugger.host = clienthost
debugger.port = 7869
debugger.enabled = true
debugger.profiler_enabled = true
debugger.JIT_host = clienthost
debugger.JIT_port = 7869
* Restarted server
What am I missing?
TIA,
Tore.