{"id":31443,"date":"2024-07-05T21:42:16","date_gmt":"2024-07-05T21:42:16","guid":{"rendered":"https:\/\/www.bilgibankasi.gnet.tr\/?p=31443"},"modified":"2024-07-05T21:42:16","modified_gmt":"2024-07-05T21:42:16","slug":"cpanelde-php-debug-modu-nasil-aktif-edilir","status":"publish","type":"post","link":"https:\/\/www.gnet.tr\/bilgi-bankasi\/cpanelde-php-debug-modu-nasil-aktif-edilir\/","title":{"rendered":"cPanel\u2019de PHP Debug Modu Nas\u0131l Aktif Edilir?"},"content":{"rendered":"<p>Baz\u0131 durumlarda cPanel \u00fczerinde <strong>PHP Debug<\/strong> modunu aktive etmek gerekebilir. Bu makalede, PHP Debug modunu nas\u0131l aktif edece\u011finizi ad\u0131m ad\u0131m a\u00e7\u0131klayaca\u011f\u0131z.<\/p>\n<p><strong>1. M\u00fc\u015fteri Paneline Giri\u015f Yapma<\/strong><br \/>\n\u00d6ncelikle, <a href=\"https:\/\/www.gnet.tr\/\"><strong>Gnet<\/strong><\/a> m\u00fc\u015fteri paneline giri\u015f yapman\u0131z gerekmektedir. M\u00fc\u015fteri paneline giri\u015f yapt\u0131ktan sonra sol men\u00fcden &#8220;<strong>Hostinglerim<\/strong>&#8221; sekmesine t\u0131klay\u0131n ve ilgili hosting hesab\u0131n\u0131 se\u00e7ip &#8220;<strong>Y\u00f6net<\/strong>&#8221; butonuna t\u0131klay\u0131n.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.bilgibankasi.gnet.tr\/wp-content\/uploads\/2024\/07\/1.jpg\" alt=\"M\u00fc\u015fteri Paneli G\u00f6rsel 1\" title=\"\"><br \/>\n<strong>2. cPanel\u2019e Giri\u015f Yapma<\/strong><br \/>\nA\u00e7\u0131lan y\u00f6netim sayfas\u0131nda &#8220;<strong>cPanel&#8217;e Giri\u015f Yap<\/strong>&#8221; butonuna t\u0131klay\u0131n. Bu i\u015flem, cPanel kontrol paneline eri\u015fmenizi sa\u011flar.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.bilgibankasi.gnet.tr\/wp-content\/uploads\/2024\/07\/2.jpg\" alt=\"cPanel Giri\u015f G\u00f6rsel 2\" title=\"\"><br \/>\n<strong>3. PHP Selector Arac\u0131n\u0131 Bulma<\/strong><br \/>\ncPanel kontrol panelinde, &#8220;<strong>Select PHP Version<\/strong>&#8221; arac\u0131n\u0131 bulman\u0131z gerekmektedir. Bunu yapmak i\u00e7in, \u00fcstteki arama \u00e7ubu\u011funa &#8220;<strong>PHP Version<\/strong>&#8221; yazabilir veya &#8220;<strong>Yaz\u0131l\u0131mlar<\/strong>&#8221; sekmesine giderek &#8220;Select PHP Version&#8221; arac\u0131n\u0131 se\u00e7ebilirsiniz.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.bilgibankasi.gnet.tr\/wp-content\/uploads\/2024\/07\/3.jpg\" alt=\"PHP Selector Arac\u0131 G\u00f6rsel 3\" title=\"\"><br \/>\n<strong>4. PHP Selector Uygulamas\u0131nda Debug Modunu A\u00e7ma<\/strong><br \/>\n&#8220;<strong>Select PHP Version<\/strong>&#8221; arac\u0131n\u0131 a\u00e7t\u0131ktan sonra, mevcut PHP versiyonunuzu (Current PHP Version) g\u00f6receksiniz. &#8220;<strong>Options<\/strong>&#8221; sekmesine t\u0131klay\u0131n ve &#8220;<strong>display_errors<\/strong>&#8221; se\u00e7ene\u011fini i\u015faretleyin. Ard\u0131ndan &#8220;<strong>error_reporting<\/strong>&#8221; se\u00e7ene\u011finin yan\u0131ndaki &#8220;<strong>Choose any value<\/strong>&#8221; butonuna t\u0131klayarak &#8220;<strong>E_ALL<\/strong>&#8221; se\u00e7ene\u011fini se\u00e7in.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.bilgibankasi.gnet.tr\/wp-content\/uploads\/2024\/07\/4.jpg\" alt=\"PHP Debug Modu Ayarlar\u0131 G\u00f6rsel 4\" title=\"\"><br \/>\n<strong>5. WordPress Kullan\u0131yorsan\u0131z \u0130lave \u0130\u015flem Yapma<\/strong><br \/>\nE\u011fer WordPress kullan\u0131yorsan\u0131z, cPanel \u00fczerinde Dosyalar sekmesine gidin ve &#8220;<strong>Dosya Y\u00f6neticisi<\/strong>&#8221; arac\u0131n\u0131 bulun.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.bilgibankasi.gnet.tr\/wp-content\/uploads\/2024\/07\/5.jpg\" alt=\"Dosya Y\u00f6neticisi G\u00f6rsel 5\" title=\"\"><br \/>\n<strong>6. wp-config.php Dosyas\u0131n\u0131 D\u00fczenleme<\/strong><br \/>\nDosya y\u00f6neticisi a\u00e7\u0131l\u0131nca &#8220;<strong>wp-config.php<\/strong>&#8221; dosyas\u0131n\u0131 bulun ve sa\u011f t\u0131klayarak bir metin edit\u00f6r\u00fc ile a\u00e7\u0131n. Bu dosyada a\u015fa\u011f\u0131daki kod dizisini kopyalay\u0131p yap\u0131\u015ft\u0131r\u0131n ve kaydederek \u00e7\u0131k\u0131\u015f yap\u0131n:<\/p>\n<pre>\/\/ Enable WP_DEBUG mode\r\ndefine( 'WP_DEBUG', true );\r\n\r\n\/\/ Enable Debug logging to the \/wp-content\/debug.log file\r\ndefine( 'WP_DEBUG_LOG', true );\r\n\r\n\/\/ Disable display of errors and warnings\r\ndefine( 'WP_DEBUG_DISPLAY', false );\r\n@ini_set( 'display_errors', 0 );\r\n\r\n\/\/ Use dev versions of core JS and CSS files (only needed if you are modifying these core files)\r\ndefine( 'SCRIPT_DEBUG', true );\r\n<\/pre>\n<p>Bu kod dizisi sayesinde PHP Debug modu aktif olacak ve t\u00fcm hatalar\u0131 bildirim ve uyar\u0131lar\u0131 wp-content dizininde debug.log adl\u0131 bir dosya \u00fczerinde kaydedecektir.<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"tmnf_excerpt\"><p>Baz\u0131 durumlarda cPanel \u00fczerinde PHP Debug modunu aktive etmek gerekebilir. Bu makalede, PHP Debug modunu nas\u0131l aktif edece\u011finizi ad\u0131m ad\u0131m a\u00e7\u0131klayaca\u011f\u0131z. 1. M\u00fc\u015fteri Paneline Giri\u015f Yapma \u00d6ncelikle, Gnet m\u00fc\u015fteri paneline giri\u015f yapman\u0131z gerekmektedir. M\u00fc\u015fteri paneline giri\u015f yapt\u0131ktan sonra sol men\u00fcden &#8220;Hostinglerim&#8221; sekmesine t\u0131klay\u0131n ve ilgili hosting hesab\u0131n\u0131 se\u00e7ip &#8220;Y\u00f6net&#8221; butonuna t\u0131klay\u0131n. 2. cPanel\u2019e Giri\u015f Yapma &hellip;<\/p>\n<\/div>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[58,60,67,66,68],"tags":[],"class_list":["post-31443","post","type-post","status-publish","format-standard","hentry","category-hosting","category-kontrol-paneli","category-linux-hosting","category-whm-cpanel","category-wordpress-hosting"],"_links":{"self":[{"href":"https:\/\/www.gnet.tr\/bilgi-bankasi\/wp-json\/wp\/v2\/posts\/31443","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.gnet.tr\/bilgi-bankasi\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gnet.tr\/bilgi-bankasi\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gnet.tr\/bilgi-bankasi\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gnet.tr\/bilgi-bankasi\/wp-json\/wp\/v2\/comments?post=31443"}],"version-history":[{"count":4,"href":"https:\/\/www.gnet.tr\/bilgi-bankasi\/wp-json\/wp\/v2\/posts\/31443\/revisions"}],"predecessor-version":[{"id":31484,"href":"https:\/\/www.gnet.tr\/bilgi-bankasi\/wp-json\/wp\/v2\/posts\/31443\/revisions\/31484"}],"wp:attachment":[{"href":"https:\/\/www.gnet.tr\/bilgi-bankasi\/wp-json\/wp\/v2\/media?parent=31443"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gnet.tr\/bilgi-bankasi\/wp-json\/wp\/v2\/categories?post=31443"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gnet.tr\/bilgi-bankasi\/wp-json\/wp\/v2\/tags?post=31443"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}