{"id":2390,"date":"2026-09-30T10:00:00","date_gmt":"2026-09-30T07:00:00","guid":{"rendered":"https:\/\/narhost.com\/destek\/?p=2390"},"modified":"2026-09-26T23:29:07","modified_gmt":"2026-09-26T20:29:07","slug":"cpanelde-laravel-kurulumu","status":"publish","type":"post","link":"https:\/\/narhost.com\/destek\/cpanelde-laravel-kurulumu\/","title":{"rendered":"cPanel&#8217;de Laravel Kurulumu Nas\u0131l Yap\u0131l\u0131r"},"content":{"rendered":"<p class=\"kb-dogrulama\">Son do\u011frulama: Eyl\u00fcl 2026 \u00b7 cPanel 136 test hesab\u0131nda Softaculous ve men\u00fc yollar\u0131 denendi, Laravel ad\u0131mlar\u0131 laravel.com resm\u00ee dok\u00fcman\u0131na g\u00f6re<\/p>\n<div id=\"hizli-cozum\" class=\"ai-box ai-box--cozum\">\n<p class=\"ai-box-title\">H\u0131zl\u0131 \u00e7\u00f6z\u00fcm<\/p>\n<p><strong>cPanelde Laravel kurulumu<\/strong> iki yolla yap\u0131l\u0131r: haz\u0131r bir iskelet yeterliyse Softaculous&#8217;tan tek formla, kendi projenizi yay\u0131na alacaksan\u0131z projeyi bilgisayar\u0131n\u0131zda Composer ile haz\u0131rlay\u0131p y\u00fckleyerek. Payla\u015f\u0131ml\u0131 hostingde SSH olmad\u0131\u011f\u0131 i\u00e7in Artisan komutlar\u0131n\u0131 yerelde \u00e7al\u0131\u015ft\u0131r\u0131rs\u0131n\u0131z.<\/p>\n<ol>\n<li>MultiPHP Y\u00f6neticisi&#8217;nden alan ad\u0131n\u0131n PHP s\u00fcr\u00fcm\u00fcn\u00fc 8.3 ya da \u00fcst\u00fcne al\u0131n.<\/li>\n<li>Projeyi yerelde <code>composer install --no-dev<\/code> ile haz\u0131rlay\u0131p ZIP olarak y\u00fckleyin.<\/li>\n<li>Alan ad\u0131n\u0131n belge k\u00f6k\u00fcn\u00fc projenin <code>public<\/code> klas\u00f6r\u00fcne ba\u011flay\u0131n.<\/li>\n<li><code>.env<\/code> dosyas\u0131nda veritaban\u0131 bilgilerini ve <code>APP_DEBUG=false<\/code> ayar\u0131n\u0131 girin.<\/li>\n<\/ol>\n<\/div>\n<table class=\"kb-uyg\">\n<tr>\n<th>Panel<\/th>\n<td>cPanel<\/td>\n<\/tr>\n<tr>\n<th>Sistem<\/th>\n<td>Payla\u015f\u0131ml\u0131 hosting (PHP 8.3\/8.4, MariaDB 10.11)<\/td>\n<\/tr>\n<tr>\n<th>Yetki<\/th>\n<td>cPanel kullan\u0131c\u0131s\u0131<\/td>\n<\/tr>\n<tr>\n<th>Narhost \u00fcr\u00fcn\u00fc<\/th>\n<td><a href=\"https:\/\/narhost.com\/web-hosting\" title=\"Web Hosting paketleri \u2014 Narhost\">Web Hosting<\/a><\/td>\n<\/tr>\n<\/table>\n<div class=\"kb-once\">\n<p class=\"label\">Ba\u015flamadan \u00f6nce<\/p>\n<ul>\n<li>Bilgisayar\u0131n\u0131zda PHP 8.3+ ve Composer kurulu olmal\u0131; g\u00fcncel Laravel 13 s\u00fcr\u00fcm\u00fc en az PHP 8.3 ister.<\/li>\n<li>cPanel&#8217;de bir MySQL veritaban\u0131 ve kullan\u0131c\u0131s\u0131 a\u00e7\u0131n; veritaban\u0131 ve kullan\u0131c\u0131 ad\u0131na hesap ad\u0131n\u0131z \u00f6nek olarak eklenir.<\/li>\n<li>Alan ad\u0131n\u0131n PHP s\u00fcr\u00fcm\u00fcn\u00fc <a href=\"https:\/\/narhost.com\/destek\/cpanelde-php-surumu-nasil-degistirilir\/\" title=\"cPanel&#039;de PHP S\u00fcr\u00fcm\u00fc Nas\u0131l De\u011fi\u015ftirilir \u2014 Narhost Destek\">MultiPHP Y\u00f6neticisi&#8217;nden<\/a> 8.3 ya da 8.4 yap\u0131n.<\/li>\n<\/ul>\n<\/div>\n<h2>Laravel payla\u015f\u0131ml\u0131 hostingde nas\u0131l \u00e7al\u0131\u015f\u0131r<\/h2>\n<p>Laravel isteklerin tamam\u0131n\u0131 <code>public\/index.php<\/code> dosyas\u0131ndan kar\u015f\u0131lar. <a href=\"https:\/\/laravel.com\/framework\/docs\/13.x\/deployment\" title=\"Deployment \u2014 Laravel 13.x Documentation\" target=\"_blank\" rel=\"noopener\">Laravel&#8217;in yay\u0131nlama belgesi<\/a> projenin k\u00f6k klas\u00f6r\u00fcnden yay\u0131n yapmay\u0131 a\u00e7\u0131k\u00e7a yasaklar; k\u00f6kte duran <code>.env<\/code> dosyas\u0131 veritaban\u0131 parolas\u0131n\u0131 ve uygulama anahtar\u0131n\u0131 ta\u015f\u0131r. Bu y\u00fczden cPanelde Laravel kurulumu yaparken as\u0131l i\u015f, alan ad\u0131n\u0131n yaln\u0131z <code>public<\/code> klas\u00f6r\u00fcn\u00fc g\u00f6stermesini sa\u011flamakt\u0131r.<\/p>\n<p>\u0130kinci fark SSH&#8217;t\u0131r. Narhost payla\u015f\u0131ml\u0131 hosting paketlerinde SSH eri\u015fimi yoktur; <code>composer<\/code> ve <code>php artisan<\/code> komutlar\u0131n\u0131 bilgisayar\u0131n\u0131zda \u00e7al\u0131\u015ft\u0131r\u0131p sonucu y\u00fcklersiniz. Kal\u0131c\u0131 olarak Artisan, kuyruk i\u015f\u00e7isi ya da SSH gerektiren bir uygulama kuruyorsan\u0131z VPS daha uygun bir ortamd\u0131r.<\/p>\n<h2>Ad\u0131m ad\u0131m cPanelde Laravel kurulumu<\/h2>\n<h3>Y\u00f6ntem 1 \u2014 Softaculous (haz\u0131r iskelet)<\/h3>\n<ol class=\"kb-adimlar\">\n<li><strong>cPanel \u2192 Yaz\u0131l\u0131m \u2192 Softaculous Apps Installer \u2192 Laravel<\/strong> sayfas\u0131n\u0131 a\u00e7\u0131p Y\u00fckle&#8217;ye t\u0131klay\u0131n. Eyl\u00fcl 2026 itibar\u0131yla listede Laravel 11 ve 10 s\u00fcr\u00fcmleri bulunur; en g\u00fcncel s\u00fcr\u00fcm gerekiyorsa Y\u00f6ntem 2&#8217;yi kullan\u0131n.<br \/>\n<figure class=\"kb-ekran\"><img decoding=\"async\" src=\"https:\/\/narhost.com\/destek\/wp-content\/uploads\/2026\/09\/cpanelde-laravel-kurulumu-adim-1-1.webp\" alt=\"cPanelde Laravel kurulumu i\u00e7in Softaculous Laravel kurulum sayfas\u0131\" width=\"1200\" height=\"917\" loading=\"lazy\"><figcaption>Softaculous&#8217;taki Laravel sayfas\u0131; Y\u00fckle sekmesinde alan ad\u0131, dizin ve s\u00fcr\u00fcm se\u00e7ilir.<\/figcaption><\/figure>\n<p class=\"kb-cikti\">Beklenen sonu\u00e7: protokol, alan ad\u0131, dizin ve s\u00fcr\u00fcm se\u00e7ilen kurulum formu a\u00e7\u0131l\u0131r.<\/p>\n<\/li>\n<li><strong>Alan ad\u0131n\u0131 se\u00e7in, dizini bo\u015f b\u0131rak\u0131n ve Y\u00fckle&#8217;ye bas\u0131n.<\/strong> Geli\u015fmi\u015f Se\u00e7enekler alt\u0131ndaki veritaban\u0131n\u0131 Softaculous kendisi olu\u015fturur. Genel uygulama kurulumunun ayr\u0131nt\u0131lar\u0131 <a href=\"https:\/\/narhost.com\/destek\/cpanel-softaculous-ile-uygulama-kurulumu\/\" title=\"cPanel Softaculous ile Uygulama Kurulumu \u2014 Narhost Destek\">Softaculous kart\u0131nda<\/a>.\n<p class=\"kb-cikti\">Beklenen sonu\u00e7: kurulum tamamlan\u0131r ve adres verilir. Adres Laravel kar\u015f\u0131lama sayfas\u0131 yerine dizin listesi ya da 403 g\u00f6steriyorsa Y\u00f6ntem 2&#8217;deki belge k\u00f6k\u00fc ad\u0131m\u0131n\u0131 uygulay\u0131n.<\/p>\n<\/li>\n<\/ol>\n<h3>Y\u00f6ntem 2 \u2014 Yerelde haz\u0131rlay\u0131p y\u00fckleme (\u00f6nerilen)<\/h3>\n<ol class=\"kb-adimlar\">\n<li><strong>Projeyi bilgisayar\u0131n\u0131zda haz\u0131rlay\u0131n.<\/strong> Yeni proje i\u00e7in:\n<pre><code class=\"language-bash\">composer create-project laravel\/laravel proje\ncd proje\ncomposer install --no-dev --optimize-autoloader<\/code><\/pre>\n<p class=\"kb-cikti\">Beklenen sonu\u00e7: <code>vendor<\/code> klas\u00f6r\u00fc olu\u015fur. <code>create-project<\/code> uygulama anahtar\u0131n\u0131 kendisi \u00fcretir; <code>.env<\/code> i\u00e7indeki <code>APP_KEY<\/code> sat\u0131r\u0131 dolu gelir.<\/p>\n<\/li>\n<li><strong>ZIP&#8217;leyip ana dizine y\u00fckleyin.<\/strong> Klas\u00f6r\u00fc <code>vendor<\/code> dahil s\u0131k\u0131\u015ft\u0131r\u0131n ve Dosya Y\u00f6neticisi&#8217;nde <code>public_html<\/code> d\u0131\u015f\u0131na, ana dizine y\u00fckleyip \u00e7\u0131kar\u0131n; sonu\u00e7 <code>\/home\/kullanici\/laravel<\/code> gibi bir klas\u00f6r olmal\u0131.<br \/>\n<figure class=\"kb-ekran\"><img decoding=\"async\" src=\"https:\/\/narhost.com\/destek\/wp-content\/uploads\/2026\/09\/cpanelde-laravel-kurulumu-adim-2-1.webp\" alt=\"cPanel Dosya Y\u00f6neticisi'nde ana dizine y\u00fcklenen Laravel proje klas\u00f6r\u00fc\" width=\"1200\" height=\"833\" loading=\"lazy\"><figcaption>Dosya Y\u00f6neticisi; proje public_html d\u0131\u015f\u0131nda, ana dizinde durmal\u0131.<\/figcaption><\/figure>\n<p class=\"kb-cikti\">Beklenen sonu\u00e7: <code>laravel<\/code> klas\u00f6r\u00fcnde <code>app<\/code>, <code>public<\/code>, <code>storage<\/code>, <code>vendor<\/code> ve <code>.env<\/code> g\u00f6r\u00fcn\u00fcr.<\/p>\n<\/li>\n<li><strong>Belge k\u00f6k\u00fcn\u00fc <code>public<\/code> klas\u00f6r\u00fcne ba\u011flay\u0131n.<\/strong> Eklenti alan ad\u0131 ya da alt alan ad\u0131ysa <strong>cPanel \u2192 Alan Adlar\u0131 \u2192 Alan Adlar\u0131 \u2192 Y\u00f6net<\/strong> sayfas\u0131nda belge k\u00f6k\u00fcne <code>laravel\/public<\/code> yaz\u0131p g\u00fcncelleyin. <a href=\"https:\/\/docs.cpanel.net\/cpanel\/domains\/domains\/manage-the-domain\/\" title=\"Manage the Domain \u2014 cPanel Docs\" target=\"_blank\" rel=\"noopener\">cPanel belgesine g\u00f6re<\/a> ana alan ad\u0131n\u0131n belge k\u00f6k\u00fc de\u011fi\u015ftirilemez; ana alan ad\u0131nda projeyi <code>public_html\/laravel<\/code> alt\u0131na koyup <code>public_html\/.htaccess<\/code> dosyas\u0131na \u015funu yaz\u0131n:<br \/>\n<figure class=\"kb-ekran\"><img decoding=\"async\" src=\"https:\/\/narhost.com\/destek\/wp-content\/uploads\/2026\/09\/cpanelde-laravel-kurulumu-adim-3-1.webp\" alt=\"cPanel Alan Adlar\u0131 sayfas\u0131nda belge k\u00f6k\u00fc s\u00fctunu ve Y\u00f6net d\u00fc\u011fmesi\" width=\"1200\" height=\"409\" loading=\"lazy\"><figcaption>Alan Adlar\u0131 sayfas\u0131; eklenti ve alt alan adlar\u0131n\u0131n belge k\u00f6k\u00fc Y\u00f6net d\u00fc\u011fmesinden de\u011fi\u015ftirilir.<\/figcaption><\/figure>\n<pre><code class=\"language-apache\">RewriteEngine On\nRewriteRule ^(.*)$ laravel\/public\/$1 [L]<\/code><\/pre>\n<p class=\"kb-cikti\">Beklenen sonu\u00e7: alan ad\u0131 Laravel kar\u015f\u0131lama sayfas\u0131n\u0131 a\u00e7ar.<\/p>\n<\/li>\n<li><strong><code>.env<\/code> dosyas\u0131n\u0131 \u00fcretime g\u00f6re d\u00fczenleyin.<\/strong> Laravel varsay\u0131lan olarak SQLite ile gelir; MySQL&#8217;e \u00e7evirin:\n<pre><code class=\"language-ini\">APP_ENV=production\nAPP_DEBUG=false\nAPP_URL=https:\/\/ornek.com\nDB_CONNECTION=mysql\nDB_HOST=localhost\nDB_DATABASE=kullanici_laravel\nDB_USERNAME=kullanici_laravel\nDB_PASSWORD=parolaniz<\/code><\/pre>\n<p class=\"kb-cikti\">Beklenen sonu\u00e7: hata sayfalar\u0131 ayr\u0131nt\u0131 g\u00f6stermez, uygulama veritaban\u0131na ba\u011flan\u0131r.<\/p>\n<\/li>\n<li><strong>Tablolar\u0131 olu\u015fturun.<\/strong> Migration&#8217;lar\u0131 yerelde \u00e7al\u0131\u015ft\u0131r\u0131p veritaban\u0131n\u0131 phpMyAdmin ile i\u00e7e aktar\u0131n ya da <a href=\"https:\/\/narhost.com\/destek\/cpanel-remote-mysql-baglanti\/\" title=\"cPanel Remote MySQL Ba\u011flant\u0131s\u0131 \u2014 Narhost Destek\">Remote MySQL<\/a> ile IP&#8217;nize izin verip <code>php artisan migrate<\/code> komutunu bilgisayar\u0131n\u0131zdan sunucu veritaban\u0131na y\u00f6neltin. Yerelde <code>php artisan config:cache<\/code> \u00e7al\u0131\u015ft\u0131rmay\u0131n; \u00f6nbellek dosyas\u0131 bilgisayar\u0131n\u0131z\u0131n klas\u00f6r yollar\u0131n\u0131 ta\u015f\u0131r.\n<p class=\"kb-cikti\">Beklenen sonu\u00e7: phpMyAdmin&#8217;de <code>migrations<\/code> ve <code>users<\/code> tablolar\u0131 g\u00f6r\u00fcn\u00fcr.<\/p>\n<\/li>\n<\/ol>\n<h2>Do\u011frulama<\/h2>\n<div class=\"success-box\">\n<p class=\"label\">Sonu\u00e7<\/p>\n<p>Alan ad\u0131 Laravel sayfas\u0131n\u0131 a\u00e7\u0131yor, <code>https:\/\/ornek.com\/.env<\/code> ve <code>https:\/\/ornek.com\/laravel\/.env<\/code> adresleri 404 d\u00f6n\u00fcyorsa kurulum g\u00fcvenlidir. <code>storage\/logs\/laravel.log<\/code> dosyas\u0131nda yeni hata sat\u0131r\u0131 yoksa uygulama sorunsuz \u00e7al\u0131\u015f\u0131yordur.<\/p>\n<\/div>\n<h2>H\u00e2l\u00e2 \u00e7\u00f6z\u00fclmediyse<\/h2>\n<ul>\n<li><strong>500 hatas\u0131 ya da beyaz sayfa.<\/strong><code>storage<\/code> ve <code>bootstrap\/cache<\/code> klas\u00f6rleri yaz\u0131labilir de\u011fildir ya da PHP s\u00fcr\u00fcm\u00fc d\u00fc\u015f\u00fckt\u00fcr; klas\u00f6rleri 755 yap\u0131n ve <a href=\"https:\/\/narhost.com\/destek\/cpanel-hata-gunlukleri-inceleme\/\" title=\"cPanel Hata G\u00fcnl\u00fckleri \u0130nceleme \u2014 Narhost Destek\">hata g\u00fcnl\u00fcklerine<\/a> bak\u0131n.<\/li>\n<li><strong><code>No application encryption key has been specified<\/code>.<\/strong><code>APP_KEY<\/code> bo\u015f kalm\u0131\u015ft\u0131r; yerel <code>.env<\/code> dosyan\u0131zdaki de\u011feri kopyalay\u0131n.<\/li>\n<li><strong><code>SQLSTATE[HY000] [1045] Access denied<\/code>.<\/strong> Veritaban\u0131 ad\u0131 ya da kullan\u0131c\u0131s\u0131 \u00f6neksiz yaz\u0131lm\u0131\u015ft\u0131r; cPanel&#8217;deki tam ad\u0131 kullan\u0131n.<\/li>\n<li><strong>Ana sayfa a\u00e7\u0131l\u0131yor, di\u011fer sayfalar 404.<\/strong><code>public\/.htaccess<\/code> dosyas\u0131 ZIP&#8217;e girmemi\u015ftir; gizli dosyalar\u0131 dahil ederek yeniden y\u00fckleyin.<\/li>\n<\/ul>\n<div class=\"cta-box\">\n<p class=\"label\">Narhost deste\u011fi<\/p>\n<p>Talebe \u015funlar\u0131 ekleyin: alan ad\u0131, Laravel s\u00fcr\u00fcm\u00fc, hata metni birebir, <code>laravel.log<\/code> dosyas\u0131n\u0131n son sat\u0131rlar\u0131 ve denedi\u011finiz ad\u0131mlar.<\/p>\n<p><a class=\"cta-btn\" href=\"https:\/\/narhost.com\/submitticket.php\" title=\"Narhost destek talebi a\u00e7\">Destek talebi a\u00e7<\/a><\/div>\n<div class=\"kb-ilgili\">\n<p class=\"label\">Sonraki ad\u0131mlar<\/p>\n<ul>\n<li><a href=\"https:\/\/narhost.com\/destek\/hostingde-gelistirme-araclari\/\" title=\"Hostingde Geli\u015ftirme Ara\u00e7lar\u0131 \u2014 Narhost Destek\">Hostingde geli\u015ftirme ara\u00e7lar\u0131<\/a><\/li>\n<li><a href=\"https:\/\/narhost.com\/destek\/cpanel-softaculous-ile-uygulama-kurulumu\/\" title=\"cPanel Softaculous ile Uygulama Kurulumu \u2014 Narhost Destek\">Softaculous ile uygulama kurulumu<\/a><\/li>\n<li><a href=\"https:\/\/narhost.com\/destek\/cpanelde-php-surumu-nasil-degistirilir\/\" title=\"cPanel&#039;de PHP S\u00fcr\u00fcm\u00fc Nas\u0131l De\u011fi\u015ftirilir \u2014 Narhost Destek\">cPanel&#8217;de PHP s\u00fcr\u00fcm\u00fc de\u011fi\u015ftirme<\/a><\/li>\n<\/ul>\n<\/div>\n<div class=\"kb-faq\">\n<h2>S\u0131k\u00e7a sorulan sorular<\/h2>\n<h3>SSH olmadan Laravel \u00e7al\u0131\u015f\u0131r m\u0131?<\/h3>\n<p>\u00c7al\u0131\u015f\u0131r. Laravel&#8217;in \u00e7al\u0131\u015fmas\u0131 i\u00e7in SSH gerekmez; yaln\u0131z kurulum ve g\u00fcncelleme komutlar\u0131n\u0131 bilgisayar\u0131n\u0131zda \u00e7al\u0131\u015ft\u0131r\u0131p dosyalar\u0131 y\u00fcklersiniz.<\/p>\n<h3>cPanelde Laravel kurulumu i\u00e7in hangi PHP s\u00fcr\u00fcm\u00fc gerekir?<\/h3>\n<p>Laravel 13 en az PHP 8.3 ister. Narhost payla\u015f\u0131ml\u0131 hostingte 8.3 ve 8.4 se\u00e7ilebilir; eski bir Laravel 10 projesi 8.1 ve 8.2 ile de \u00e7al\u0131\u015f\u0131r.<\/p>\n<h3>Projeyi Git ile g\u00f6nderebilir miyim?<\/h3>\n<p>cPanel&#8217;deki Git Version Control kodu depodan \u00e7ekebilir. SSH olmad\u0131\u011f\u0131 i\u00e7in <code>vendor<\/code> klas\u00f6r\u00fcn\u00fc yerelde \u00fcretip ayr\u0131ca y\u00fcklemek en sorunsuz yoldur.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>cPanelde Laravel kurulumu i\u00e7in iki yol: Softaculous ile haz\u0131r iskelet ya da projeyi yerelde Composer ile haz\u0131rlay\u0131p y\u00fckleme. Belge k\u00f6k\u00fcn\u00fc public klas\u00f6r\u00fcne ba\u011flama, .env ve APP_KEY, veritaban\u0131 tablolar\u0131 ve SSH olmadan Artisan kullan\u0131m\u0131.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,6],"tags":[298],"class_list":["post-2390","post","type-post","status-publish","format-standard","hentry","category-web-hosting","category-linux-hosting","tag-laravel"],"meta_box":[],"_links":{"self":[{"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/posts\/2390","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/comments?post=2390"}],"version-history":[{"count":1,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/posts\/2390\/revisions"}],"predecessor-version":[{"id":2568,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/posts\/2390\/revisions\/2568"}],"wp:attachment":[{"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/media?parent=2390"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/categories?post=2390"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/tags?post=2390"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}