NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Error in installing dbg module for - http://localhost/


Joined: 14 Jun 2007
Posts: 1
Reply with quote
Hi,
I saw many threads in this forum but didn't get answer.
I have Php-5.2.1 and NuSphere-phped-5.0eval-Win32

I get error 'Failed to start debug session. Make sure debug module installed on server that corrosponds to http://localhost/myDir/about.php URL.'

Referring following URL.
http://www.nusphere.com/kb/technicalfaq/howto_install_dbg_module.htm

I copied program files/nusphere/phped/debugger/server/Win32/X86/php_dbg.dll-5.2.x to php/ext/ folder

Added following lines to php.ini

extension=php_dbg.dll-5.2.x

debugger.enabled=on
debugger.profiler_enabled=on
debugger.hosts_allow=localhost
;debugger.hosts_deny=ALL
debugger.ports=7869, 10000/16


restarted my computer but phpinfo() is not outputting any DBG reference.

Any suggetions what I might be doing wrong, are welcome?

Needs to debug this application on local IIS not PHPEd Srv.

Thanks
View user's profileFind all posts by hsankalpaSend private message
Veteran

Joined: 06 Jun 2007
Posts: 289
Location: Vancouver, Canada
Reply with quote
This may sound silly, but I suggest you double-check that you are editing the right php.ini file. You may have one in C:\Windows and one in your PHP directory. To see which one is the correct one, open your phpinfo page and find the Configuration File (php.ini) Path setting near the top.

Next, try using the absolute path to the DBG extension, for example:
Code:
extension=C:\PHP\Ext\php_dbg.dll-5.2.x


And if that does not work, try using the "zend_extension_ts" instead of "extension:
Code:
zend_extension_ts=C:\PHP\Ext\php_dbg.dll-5.2.x


You should not need to reboot you PC. If PHP is configured as an ISAPI module, you need to restart IIS. If configured as a CGI, your new php.ini settings should take effect immediately.
View user's profileFind all posts by annoSend private messageVisit poster's website
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
Quote:
extension=C:\PHP\Ext\php_dbg.dll-5.2.x

no, extension is always loaded with extension_dir appended, so if you have
extension_dir=C:\PHP\Ext
and
extension=C:\PHP\Ext\php_dbg.dll-5.2.x
php will try to load C:\PHP\Ext\C:\PHP\Ext\php_dbg.dll-5.2.x and certainly will fail.
The only way to load with absolute path is zend_extension_ts (or zend_extension under unix/linux where php works w/o threadsafety)

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Error in installing dbg module for - http://localhost/
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