NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
DBG is not working properly


Joined: 13 Sep 2008
Posts: 3
Reply with quote
Hi,

Currently I have the following PHP.INI file

[PHP]
zend_extension=/var/www/html/store/ioncube/ioncube_loader_lin_5.2.so
zend_extension=/usr/local/php-5.2.5/lib/php/extensions/no-debug-non-zts-20060613/dbg.so
;zend_extension=/usr/local/zend-3.3.0/lib/Optimizer-3.3.0/php-5.2.x/ZendOptimizer.so

.......

[Zend]
zend_extension_manager.optimizer=/usr/local/zend/lib/Optimizer-3.3.0
zend_extension_manager.optimizer_ts=/usr/local/zend/lib/Optimizer_TS-3.3.0
zend_optimizer.version=3.3.0
zend_extension=/usr/local/zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/zend/lib/ZendExtensionManager_TS.so

[Debugger]
debugger.enabled = on
debugger.profiler_enabled = on

It's working but the only mention of DBG I have after running phpinfo is in zend engine block
"with DBG v2.15.5, (C) 2000,2007, by Dmitri Dmitrienko" and there's no additional DBG section
so I guess it's not working correctly..

I tried to uncomment the path to ZendOptimizer.so and to comment [Zend] block but it didn't help, PHP stop working on my site.

Can anyone please tell me what to do?

Thanks,
View user's profileFind all posts by tofflerSend private message


Joined: 13 Sep 2008
Posts: 3
Reply with quote
*BUMP* Anyone?
View user's profileFind all posts by tofflerSend private message


Joined: 19 Jun 2006
Posts: 24
Location: florida
Reply with quote
yes i just solved this problem yesterday...

first, comment out the old extension line in php.ini

Code:
;extension=php_dbg.dll


turn off you zend stuff.. (this may or may not be totally necessary)
Code:
[Zend]
;zend_extension_ts = "\xampplite\php\zendOptimizer\lib\ZendExtensionManager.dll"
;zend_extension_manager.optimizer_ts = "\xampplite\php\zendOptimizer\lib\Optimizer"
;zend_optimizer.enable_loader = 0
;zend_optimizer.optimization_level=15
;zend_optimizer.license_path =

then, add the following code IN THIS ORDER.

Code:
zend_extension_ts = "C:\xampplite\htdocs\brevauto\ioncube\ioncube_loader_win_5.2.dll"

[debugger]
zend_extension_ts="C:\xampplite\php\ext\php_dbg.dll"
debugger.enabled=on
debugger.JIT_enabled=On
debugger.profiler_enabled=on
debugger.enable_session_cookie=On


make sure that you load the ioncube dll before loading the debugger dll. that should do it.

i just noticed that you are using *NIX, so just chage the .DLLs with .SOs
- mark
View user's profileFind all posts by menriquezSend private messageVisit poster's websiteYahoo Messenger
DBG is not working properly
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic