{"id":2096,"date":"2021-08-17T20:54:42","date_gmt":"2021-08-17T17:54:42","guid":{"rendered":"https:\/\/www.domainhizmetleri.com\/blog\/?p=2096"},"modified":"2021-09-09T16:06:06","modified_gmt":"2021-09-09T13:06:06","slug":"laravel-projeler-icin-symlink-hata-cozumu","status":"publish","type":"post","link":"https:\/\/www.domainhizmetleri.com\/blog\/laravel-projeler-icin-symlink-hata-cozumu\/","title":{"rendered":"Laravel Projeler i\u00e7in &#8220;Symlink() Has Been Disabled&#8221; Hata \u00c7\u00f6z\u00fcm\u00fc"},"content":{"rendered":"<p>Payla\u015f\u0131ml\u0131 hosting sunucular\u0131n\u0131n bir \u00e7o\u011funda <strong>symlink()<\/strong> fonksiyonu risk s\u0131n\u0131f\u0131na girdi\u011fi i\u00e7in kullan\u0131m\u0131 aktif edilemez. Bu nedenle Laravel projelerde &#8220;<strong>php artisan storage:link&#8221;&nbsp;<\/strong>komutu hata \u00e7\u0131kt\u0131s\u0131 ile sonu\u00e7lanacakt\u0131r.<\/p>\n<h2>\u00d6rnek Uyar\u0131:<\/h2>\n<pre>[ErrorException] symlink() has been disabled for security reasons<\/pre>\n<h2>\u00c7\u00f6z\u00fcm:<\/h2>\n<p>Laravel projenizin <strong>config\/filesystems.php<\/strong> dosyas\u0131 i\u00e7erisinde yer alan:<\/p>\n<pre>'root' =&gt; storage_path('app\/public'),<\/pre>\n<p>sat\u0131r\u0131n\u0131 bularak, bu sat\u0131r\u0131 a\u015fa\u011f\u0131daki \u015fekilde g\u00fcncelleyiniz:<\/p>\n<pre>'root' =&gt; public_path('storage'),<\/pre>\n<p>\u0130lgili b\u00f6l\u00fcm\u00fcn ekran g\u00f6r\u00fcnt\u00fcs\u00fc: <a href=\"https:\/\/shot.dh.web.tr\/i\/C9\/A8t0.png\" target=\"_blank\" rel=\"noopener nofollow\" rel=\"lightbox[2096]\">https:\/\/shot.dh.web.tr\/i\/C9\/A8t0.png<\/a><\/p>\n<p>Ard\u0131ndan yeniden projenizi \u00e7al\u0131\u015ft\u0131rmay\u0131 deneyiniz.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Payla\u015f\u0131ml\u0131 hosting sunucular\u0131n\u0131n bir \u00e7o\u011funda symlink() fonksiyonu risk s\u0131n\u0131f\u0131na girdi\u011fi i\u00e7in kullan\u0131m\u0131 aktif edilemez. Bu nedenle Laravel projelerde &#8220;php artisan storage:link&#8221;&nbsp;komutu hata \u00e7\u0131kt\u0131s\u0131 ile sonu\u00e7lanacakt\u0131r. \u00d6rnek Uyar\u0131: [ErrorException] symlink() has been disabled for security reasons \u00c7\u00f6z\u00fcm: Laravel projenizin config\/filesystems.php dosyas\u0131 i\u00e7erisinde yer alan: &#8216;root&#8217; =&gt; storage_path(&#8216;app\/public&#8217;), sat\u0131r\u0131n\u0131 bularak, bu sat\u0131r\u0131 a\u015fa\u011f\u0131daki \u015fekilde g\u00fcncelleyiniz: &#8216;root&#8217; =&gt; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2173,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[142],"tags":[135,18,134],"class_list":["post-2096","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-yazilim-pratikleri","tag-laravel","tag-php","tag-symlink"],"views":2160,"_links":{"self":[{"href":"https:\/\/www.domainhizmetleri.com\/blog\/wp-json\/wp\/v2\/posts\/2096","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.domainhizmetleri.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.domainhizmetleri.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.domainhizmetleri.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.domainhizmetleri.com\/blog\/wp-json\/wp\/v2\/comments?post=2096"}],"version-history":[{"count":5,"href":"https:\/\/www.domainhizmetleri.com\/blog\/wp-json\/wp\/v2\/posts\/2096\/revisions"}],"predecessor-version":[{"id":3294,"href":"https:\/\/www.domainhizmetleri.com\/blog\/wp-json\/wp\/v2\/posts\/2096\/revisions\/3294"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.domainhizmetleri.com\/blog\/wp-json\/wp\/v2\/media\/2173"}],"wp:attachment":[{"href":"https:\/\/www.domainhizmetleri.com\/blog\/wp-json\/wp\/v2\/media?parent=2096"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.domainhizmetleri.com\/blog\/wp-json\/wp\/v2\/categories?post=2096"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.domainhizmetleri.com\/blog\/wp-json\/wp\/v2\/tags?post=2096"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}