Strict Standards: Declaration of Doku_Renderer_metadata::table_open() should be compatible with Doku_Renderer::table_open($maxcols = NULL, $numrows = NULL, $pos = NULL) in /customers/b/e/2/mpsoftware.dk/httpd.www/wiki/inc/parser/metadata.php on line 24 Strict Standards: Declaration of Doku_Renderer_metadata::table_close() should be compatible with Doku_Renderer::table_close($pos = NULL) in /customers/b/e/2/mpsoftware.dk/httpd.www/wiki/inc/parser/metadata.php on line 24 Strict Standards: Declaration of syntax_plugin_qna_toc::handle() should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, &$handler) in /customers/b/e/2/mpsoftware.dk/httpd.www/wiki/lib/plugins/qna/syntax/toc.php on line 217 Strict Standards: Declaration of syntax_plugin_qna_toc::render() should be compatible with DokuWiki_Syntax_Plugin::render($format, &$renderer, $data) in /customers/b/e/2/mpsoftware.dk/httpd.www/wiki/lib/plugins/qna/syntax/toc.php on line 217 Strict Standards: Declaration of syntax_plugin_qna_block::handle() should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, &$handler) in /customers/b/e/2/mpsoftware.dk/httpd.www/wiki/lib/plugins/qna/syntax/block.php on line 151 Strict Standards: Declaration of syntax_plugin_qna_block::render() should be compatible with DokuWiki_Syntax_Plugin::render($format, &$renderer, $data) in /customers/b/e/2/mpsoftware.dk/httpd.www/wiki/lib/plugins/qna/syntax/block.php on line 151

Configure PHP with Xdebug and get it working in phpDesigner 7

Requirements

How to

Download the latest version of PHP and Xdebug. If you have PHP 5.3 VC9 you will need the Xdebug 5.3 VC9. Now move Xdebug to the Ext folder in PHP and rename it to php_xdebug.dll

Open file php.ini located in PHP and enter in:

[XDebug]
zend_extension="./ext/php_xdebug.dll"
xdebug.remote_enable=true
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.profiler_enable=1
xdebug.dump.*
xdebug.profiler_output_dir=C:\ProgramData\Application Data\phpDesigner\XDebugCache
;xdebug.profiler_output_dir="./tmp/"

Start phpDesigner 7 and go to the menu Tools > Preferences > Debugger. In PHP Interpreter, select php-cgi.exe in PHP and in Configuration File, select php.ini in PHP. Repeat these steps under Debugger > Run.

Tip

You can see if PHP is working with Xdebug, simply create a new file with the following content:

<?php
  phpinfo();
?>

Save the file and run/debug it. If you see Xdebug, everything is fine and you're done!