NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
XAMPP 1.4.5 - PHP 5.0.0 install problem


Joined: 29 Oct 2004
Posts: 3
Reply with quote
Hi guys,
i ve installed xampp some while ago (XAMPP 1.4.5).

phpinfo says (snippets):
Code:

-PHP Version 5.0.0
-Configuration File (php.ini) Path C:\Programme\apachefriends\xampp\apache\bin\php.ini


that php.ini says (snippets):
Code:

extension_dir = c:\programme\apachefriends\xampp\php\ext\
extension=php_dbg.dll
;;;;;;;;;;;;;;;;;;;
; Module Settings ;
;;;;;;;;;;;;;;;;;;;

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


i copied php_dbg.dll-5.0.0 to that extension dir and renamed it to php_dbg.dll

when i start xampp by using the link "xampp basic start" (you start apache, sql etc. this way usually). the (cmd) windows "xampp basic start" pops up, opening the default xampp website. unfortuanetly the "xampp basic start" windows closes immediatly again ('n apache, too). without the php_dbg.dll extensions registered in the php.ini xampp works fine.

what to do about it?

thx, toebens
View user's profileFind all posts by toebensSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
check if there are any zend_extension_ts= extensions are loaded in php.ini.
If there are any, remove extension=php_dbg.dll and put zend_extension_ts=php_dbg.dll before any other zend_extension(s).
dbg settings (if any) must appear somewhere below.
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 29 Oct 2004
Posts: 3
Reply with quote
thanks ddmitrie it worked now with these settings at the end of my php.ini

[Zend]
zend_extension_ts="c:\programme\apachefriends\xampp\php\ext\php_dbg.dll"

;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_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"

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

phpinfo saying:
Quote:

This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.0.0, Copyright (c) 1998-2004 Zend Technologies
with DBG v2.11.30, (C) 2000,2004, by Dmitri Dmitrienko
with Zend Extension Manager v1.0.2, Copyright (c) 2003-2004, by Zend Technologies
with Zend Optimizer v2.5.2, Copyright (c) 1998-2004, by Zend Technologies



Quote:

run <? phpinfo(); ?> script just to make sure dbg extension is working properly. You will see following message in the header:

with DBG v2.11.30, (C) 2000,2004 by Dmitri Dmitrienko, http://www.php-debugger.com

and appropriately formed dbg section.


but there is no dbg section in the phpinfo. Why?

Whats the difference between "php-"extionsion and "zend-"extension? And why doesnt the extension work with the php one?

thanks again
View user's profileFind all posts by toebensSend private message


Joined: 29 Oct 2004
Posts: 3
Reply with quote
i switched xampp to php version 4.3.8 using the normal extension (not zend_ one). now there is a dbg section below.

if someone could answer me my questions in the post above would be nice...
View user's profileFind all posts by toebensSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
seems a fix required for dbg.c code...
I'll come with that a little later.
Meanwhile you may check if dbg 2.16.x works.
As I remember it was updated to work as zend_extension_ts.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
XAMPP 1.4.5 - PHP 5.0.0 install problem
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