NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
apache 2 does not start after php_dbg.dll extension set


Joined: 16 Jan 2005
Posts: 2
Reply with quote
Hi,

Apache/2.0.50, win 32, mod_ssl/2.050, Open SSL/0.9.7c, PHP 5.0.0.

Downloaded dbg from http://www.php-debugger.com/dbg/download.php?h=211.30-mod-php5 for php 5.0.0 and php 5.0.1

Installed as described in http://www.php-debugger.com/dbg/installation.php (binary version). Read http://www.php.net/manual/en/install.windows.extensions.php.
Checked PATH (set to php ext dir, etc.).

Made php ini entries:

extension=php_dbg.dll

[debugger]
debugger.enabled = true
debugger.profiler_enabled = true
debugger.JIT_host = clienthost
debugger.JIT_port = 7869

Now, Apache2 service on Windows 2000 does not start. Starts correctly if
extension=php_dbg.dll is out-commented. What's wrong? Checked everything, extension_dir path is correct etc. Copied php_dbg.dll to all extension directories where e.g. php_zip.dll resides.

Thank you

Marcel
View user's profileFind all posts by hugmarcelSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
1) if you have any zend_extension_ts (or zend_extension under unix) line in your php.ini you have to use similar line for loading php_dbg.dll (or dbg.so under unix).
2) if you load php_dbg.dll using extension= line, check if dll is in the extension_dir directory
3) check the dll name (you either forgot to add php version number to the file name or stripped it off from the file name). By default dll is named php_dbg.dll-5.0.0

If Apache still does not run, it must log something in the error log. Check it.
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 16 Jan 2005
Posts: 2
Reply with quote
Hi,

well, got it working now. I had to disable zend optimizer:

; Debugger for client dbgListener from http://www.php-debugger.com/dbg/installation.php.

extension=php_dbg.dll-5.0.0

[debugger]
debugger.enabled = true
debugger.profiler_enabled = true
debugger.JIT_host = clienthost 80.218.79.xx
debugger.JIT_port = 7869

;[Zend]
;zend_optimizer.enable_loader = 0
;zend_optimizer.optimization_level=1023
;zend_extension="C:\Programme\apachefriends\xampp\php\zendOptimizer\lib\Optimizer-2.5.2\php-4.3.x\ZendOptimizer.dll"
;zend_extension="C:\Programme\apachefriends\xampp\php\ext\php_dbg.dll-5.0.0" -> does not work.
;zend_extension_ts="C:\Programme\apachefriends\xampp\php\zendOptimizer\lib\ZendExtensionManager.dll"
zend_extension_manager.optimizer_ts="C:\Programme\apachefriends\xampp\php\zendOptimizer\lib\Optimizer-2.5.2"
;zend_optimizer.license_path="C:\Programme\apachefriends\xampp\licenses\zendOptimizer\license.txt"

I could start Apache2 and have the debugger running, after I have disabled line zend_extension="C:\Programme\apachefriends\xampp\php\zendOptimizer\lib\Optimizer-2.5.2\php-4.3.x\ZendOptimizer.dll"

Marcel
View user's profileFind all posts by hugmarcelSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
You may try the debugger with Zend Optimizer and other stuff all enabled.
In this case you have to load phpdbg_dll using the way shown below:


[debugger]
zend_extension_ts="C:\path\to\php\dbg\modules\php_dbg.dll-5.0.0"
debugger.enabled = true
debugger.profiler_enabled = true
debugger.JIT_host = clienthost
debugger.JIT_port = 7869

all zend modules should appear below.

please note, JIT_host should have "clienthost" only
View user's profileFind all posts by dmitriSend private messageVisit poster's website
apache 2 does not start after php_dbg.dll extension set
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