NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
how to run XAMPP with debugger


Joined: 15 Nov 2007
Posts: 1
Reply with quote
After alot of frustration and reading these other threads I am completely clueless.

My setup is as follows.

- Regular XAMPP install straight from the site now additional modules or configuration
- php 5.2.4
- I have copied php_dbg.dll-5.2.x into the extensions folder just like how they are in phped's php5/extensions/ folder
- added extension=php_dbg.dll-5.2.x in php.ini ( tried without -5.2.x aswell )
- added the module settings

[debugger]
debugger.enabled=On
debugger.profiler_enabled=On

- restarted xampp, and no luck Sad

I hate to bother everyone but any tips would be great im sure its something stupid and I have had this set up properly on my old PC so this is frustrating
View user's profileFind all posts by tjholowaychukSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
did you check path to php.ini in phpinfo() to make sure that it's the file you edited?
also it may make sense to check error_log to see if there are any complaints.
In any case I'd highly recommend to follow these instructions:
http://forum.nusphere.com/howto-install-debugger-module-t576.html

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Re: XAMPP still not working with debugger after many attemps


Joined: 09 Jan 2008
Posts: 1
Reply with quote
tjholowaychuk wrote:
After alot of frustration and reading these other threads I am completely clueless.

My setup is as follows.

- Regular XAMPP install straight from the site now additional modules or configuration
- php 5.2.4
- I have copied php_dbg.dll-5.2.x into the extensions folder just like how they are in phped's php5/extensions/ folder
- added extension=php_dbg.dll-5.2.x in php.ini ( tried without -5.2.x aswell )
- added the module settings

[debugger]
debugger.enabled=On
debugger.profiler_enabled=On

- restarted xampp, and no luck Sad

I hate to bother everyone but any tips would be great im sure its something stupid and I have had this set up properly on my old PC so this is frustrating


I had the same problem.

Seems loading the dbg module collides with the following zend extension enabled by default in xampp distributions:

[Zend]
;zend_extension_ts = "D:\Programme\xampp\php\zendOptimizer\lib\ZendExtensionManager.dll"
;zend_extension_manager.optimizer_ts = "D:\Programme\xampp\php\zendOptimizer\lib\Optimizer"
;zend_optimizer.enable_loader = 0
;zend_optimizer.optimization_level=15
;zend_optimizer.license_path =
; Local Variables:
; tab-width: 4
; End:

After commenting out the zend extension the dbg module loads properly.
View user's profileFind all posts by jrsadeSend private message
Veteran

Joined: 06 Jun 2007
Posts: 289
Location: Vancouver, Canada
Reply with quote
In some cases the Zend extensions can co-exist, and it is case of getting them loaded a certain order. For example, on a Linux server where we use Zend Optimizer, Ioncube Loader and the DBG module, things only work when we load the Ioncube Loader first, then the DBG module, and Zend Optimizer last.

_________________
Smile
View user's profileFind all posts by annoSend private messageVisit poster's website
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
We had no problem with loading debugger under XAMPP. It worked perfectly well.

You may want to check if you need ZendOptimizer at all as it's known to slow down php by 2-3 percents.
If you run php-encoded files and need ZO as a loader for them and only for this reason, try to load it directly, e.g. without ZendExtensionManager.dll
[Zend]
zend_extension_ts = "D:\Programme\xampp\php\zendOptimizer\lib\Optimizer\php-5.2.x\ZendOptimizer.dll"
(check the path)

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
how to run XAMPP with debugger
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