{"id":335,"date":"2011-05-26T11:03:20","date_gmt":"2011-05-26T09:03:20","guid":{"rendered":"http:\/\/www.speich.net\/articles\/?p=335"},"modified":"2019-10-06T12:27:20","modified_gmt":"2019-10-06T10:27:20","slug":"installing-xdebug-on-windows","status":"publish","type":"post","link":"https:\/\/www.speich.net\/articles\/en\/2011\/05\/26\/installing-xdebug-on-windows\/","title":{"rendered":"Installing Xdebug on Windows and PhpStorm"},"content":{"rendered":"\n<p>There is a catch when installing <a title=\"xdebug\" href=\"http:\/\/www.xdebug.org\/\">Xdebug<\/a> on windows: You need to set the full path of the extension directive in the php.ini, since the default directory is only used for non-zend extensions. Also don&#8217;t forget to use quotes.<\/p>\n\n\n\n<pre><code class=\"language-bash\">;used only for 'normal' extensions\nextension_dir = \"C:Program Files (x86)PHPext\"\n\n;still necessary to use full path\nzend_extension = \"C:Program Files (x86)PHPextphp_xdebug.dll\"\n\n;won't work\n;zend_extension = php_xdebug.dll<\/code><\/pre>\n\n\n\n<p>To make Xdebug work in PhpStorm you also need to enable remote debugging:<\/p>\n\n\n\n<pre><code class=\"language-bash\">xdebug.remote_enable = 1<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>There is a catch when installing Xdebug on windows: You need to set the full path of the extension directive in the php.ini, since the default directory is only used for non-zend extensions. Also don&#8217;t forget to use quotes. ;used only for &#8216;normal&#8217; extensions extension_dir = &#8220;C:Program Files (x86)PHPext&#8221; ;still necessary to use full path &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.speich.net\/articles\/en\/2011\/05\/26\/installing-xdebug-on-windows\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Installing Xdebug on Windows and PhpStorm&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[75],"class_list":["post-335","post","type-post","status-publish","format-standard","hentry","category-php","tag-phpstorm","entry"],"_links":{"self":[{"href":"https:\/\/www.speich.net\/articles\/wp-json\/wp\/v2\/posts\/335","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.speich.net\/articles\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.speich.net\/articles\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.speich.net\/articles\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.speich.net\/articles\/wp-json\/wp\/v2\/comments?post=335"}],"version-history":[{"count":1,"href":"https:\/\/www.speich.net\/articles\/wp-json\/wp\/v2\/posts\/335\/revisions"}],"predecessor-version":[{"id":1689,"href":"https:\/\/www.speich.net\/articles\/wp-json\/wp\/v2\/posts\/335\/revisions\/1689"}],"wp:attachment":[{"href":"https:\/\/www.speich.net\/articles\/wp-json\/wp\/v2\/media?parent=335"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.speich.net\/articles\/wp-json\/wp\/v2\/categories?post=335"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.speich.net\/articles\/wp-json\/wp\/v2\/tags?post=335"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}