Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Using PHP DBG with Dev-PHP IDE

1nsignia
2006-09-25
2012-12-07
  • 1nsignia
    1nsignia
    2006-09-25

    I've got the IDE intstalled, and have configured PHP DBG for my intsllation, I get the header on my PHP Info, that confirms that it is installed and working properly. Now what do I do to make PHP DBG work with Dev-PHP.

    The Debug options are still greyed out, the PHP DBG Listener i running, but I'm not sure how to set it, and how to configure Dev-PHP to work with it.

    Could anyone give me any pointers, Thanks.

     
    • 1nsignia
      1nsignia
      2006-09-25

      I've got it kind off working, but now I get the error,

      DBG Failed to start debug session
      reason: failed to establish connection to client host on localhost:7869
      PHP Warning: PHP Startup: SVWh: Unable to initialize module Module
      API=20020429, debug=0, thread-safety=1 PHP compiled with module
      thread-safety=1 These options need to match in Unknown on line 0

      That comes up when the listener is listening on 192.168.0.2, which is my IP on my network (I'm using Windows XP, running EasyPHP 1.8, with PHP 5.1.2). If I change it back to the default 0.0.0.0, then I get the beloow error message:

      PHP Warning: PHP Startup: SVWh: Unable to initialize module Module
      API=20020429, debug=0, thread-safety=1 PHP compiled with module
      thread-safety=1 These options need to match in Unknown on line 0

      Now, my Apache Server is running on 127.0.0.1

      What should I do. Incase you need the text I added into my php.ini file, it is:

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

      as it says on the DBG website.

       
    • 1nsignia
      1nsignia
      2006-09-26

      That should be the Dev-PHP Editor, and not the IDE.

       
    • 1nsignia
      1nsignia
      2006-09-27

      Seems to be working now, dont know just how I managed that, but I seem to have.