{"id":698,"date":"2020-02-13T11:52:02","date_gmt":"2020-02-13T08:52:02","guid":{"rendered":"http:\/\/localhost\/bilisimkurdu\/?p=698"},"modified":"2020-02-13T11:52:02","modified_gmt":"2020-02-13T08:52:02","slug":"xampp-xdebug-yukleme","status":"publish","type":"post","link":"http:\/\/localhost\/bilisimkurdu\/xampp-xdebug-yukleme\/","title":{"rendered":"Xampp Xdebug y\u00fckleme"},"content":{"rendered":"\n

Merhaba Muhterem Ziyaret\u00e7iler,<\/p>\n\n\n\n

Bu yaz\u0131mda Xampp kurulu bilgisayara PHP eklentilerinden biri olan Xdebug nas\u0131l y\u00fcklenece\u011fi \u00fczere olacak.<\/p>\n\n\n\n

Xdebug eklentisi bilindi\u011fi \u00fczere PHP kodlar\u0131n\u0131 Debug (Ayr\u0131\u015ft\u0131rma) i\u015flevini g\u00f6rmekte.<\/p>\n\n\n\n\n\n\n\n

Ge\u00e7elim Xdebug y\u00fcklemeye:<\/p>\n\n\n\n

Windows i\u00e7in;<\/p>\n\n\n\n

Xdebug dll dosyas\u0131n\u0131 indirdikten sonra dosyan\u0131n ismi “debug.dll” olarak de\u011fi\u015ftirilir.<\/p>\n\n\n\n

Xdebug Windows dll dosyas\u0131n\u0131 https:\/\/xdebug.org\/download<\/a> adresinden indirebilirsiniz<\/p>\n\n\n\n

debug.dll dosyas\u0131n\u0131 “C:\\xampp\\php\\ext<\/em>” dizinine yap\u0131\u015ft\u0131r\u0131l\u0131r.<\/p>\n\n\n\n

C:\\xampp\\php\\<\/em><\/em>” dizininde php.ini<\/em><\/em> dosyas\u0131n\u0131 a\u00e7\u0131p (notepad veya herhangi bir metin edit\u00f6r\u00fcnde) a\u015fa\u011f\u0131daki veriler eklenir ve dosya kaydedilir;<\/p>\n\n\n\n

zend_extension = c:\\xampp\\php\\ext\\xdebug.dll\nxdebug.remote_enable = 1\nxdebug.remote_handler = dbgp\nxdebug.remote_host = localhost\nxdebug.remote_autostart = 1\nxdebug.remote_port = 9000\nxdebug.show_local_vars = 1<\/code><\/pre>\n\n\n\n

Linux i\u00e7in “terminal” a\u00e7\u0131larak(Debian tabanl\u0131) sudo -i<\/code> veya (Opensuse,Centos gibi) su<\/code> ifadesi girilir.Root \u015fifresini girdikten sonra a\u015fa\u011f\u0131daki komutlar s\u0131ras\u0131yla yaz\u0131l\u0131r;<\/p>\n\n\n\n

sudo apt-get install autoconf automake libtool m4\nexport LANG=\"C\"\n\/opt\/lampp\/bin\/pecl update-channels\n\/opt\/lampp\/bin\/pecl install Xdebug<\/code><\/pre>\n\n\n\n

“\/opt\/lampp\/etc\/” dizininde php.ini<\/em><\/em> dosyas\u0131n\u0131 a\u00e7\u0131p (gedit veya herhangi bir metin edit\u00f6r\u00fcnde) a\u015fa\u011f\u0131daki veriler eklenir ve dosya kaydedilir;<\/p>\n\n\n\n

[Xdebug]\nzend_extension=\/opt\/lampp\/lib\/php\/extensions\/xdegugDosyasininOlduguKlasor\/xdebug.so\nxdebug.idekey = netbeans-xdebug\nxdebug.profiler_append = 0\nxdebug.profiler_enable = 0\nxdebug.profiler_enable_trigger = 0\nxdebug.profiler_output_name = cachegrind.out.%t-%s\nxdebug.remote_enable = 1\nxdebug.remote_autostart = 0\nxdebug.remote_connect_back = 0\nxdebug.remote_host = 127.0.0.1\nxdebug.remote_port = 9000\nxdebug.remote_handler = dbgp\nxdebug.remote_mode = req\nxdebug.show_local_vars = 9<\/code><\/pre>\n\n\n\n

E\u011fer bu yaz\u0131yla ili\u015fkin anlatamad\u0131\u011f\u0131m\\anla\u015f\u0131lamayan konular varsa yaz\u0131n\u0131n alt\u0131na yorum yapabilirsiniz.<\/p>\n\n\n\n

\u0130yi g\u00fcnler.<\/p>\n","protected":false},"excerpt":{"rendered":"

Merhaba Muhterem Ziyaret\u00e7iler, Bu yaz\u0131mda Xampp kurulu bilgisayara PHP eklentilerinden biri olan Xdebug nas\u0131l y\u00fcklenece\u011fi \u00fczere olacak. Xdebug eklentisi bilindi\u011fi \u00fczere PHP kodlar\u0131n\u0131 Debug (Ayr\u0131\u015ft\u0131rma) i\u015flevini g\u00f6rmekte.<\/p>\n","protected":false},"author":3,"featured_media":700,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[98,84],"tags":[480,481,503,510,588,596,779,802,803,804,805,806,819],"_links":{"self":[{"href":"http:\/\/localhost\/bilisimkurdu\/wp-json\/wp\/v2\/posts\/698"}],"collection":[{"href":"http:\/\/localhost\/bilisimkurdu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/localhost\/bilisimkurdu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/localhost\/bilisimkurdu\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"http:\/\/localhost\/bilisimkurdu\/wp-json\/wp\/v2\/comments?post=698"}],"version-history":[{"count":0,"href":"http:\/\/localhost\/bilisimkurdu\/wp-json\/wp\/v2\/posts\/698\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/localhost\/bilisimkurdu\/wp-json\/wp\/v2\/media\/700"}],"wp:attachment":[{"href":"http:\/\/localhost\/bilisimkurdu\/wp-json\/wp\/v2\/media?parent=698"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/localhost\/bilisimkurdu\/wp-json\/wp\/v2\/categories?post=698"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/localhost\/bilisimkurdu\/wp-json\/wp\/v2\/tags?post=698"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}