{"id":34195,"date":"2025-11-12T14:40:59","date_gmt":"2025-11-12T11:40:59","guid":{"rendered":"https:\/\/fatihsoysal.com\/blog\/?p=34195"},"modified":"2025-11-12T14:40:59","modified_gmt":"2025-11-12T11:40:59","slug":"centos-7-uzerinde-php-7ye-yukseltme-kapsamli-bir-rehber","status":"publish","type":"post","link":"https:\/\/fatihsoysal.com\/blog\/centos-7-uzerinde-php-7ye-yukseltme-kapsamli-bir-rehber\/","title":{"rendered":"CentOS 7 \u00dczerinde PHP 7&#8217;ye Y\u00fckseltme: Kapsaml\u0131 Bir Rehber"},"content":{"rendered":"<p><body><\/p>\n<h2>CentOS 7 \u00dczerinde PHP 7&#8217;ye Y\u00fckseltme: Kapsaml\u0131 Bir Rehber<\/h2>\n<p>PHP, web geli\u015ftirme d\u00fcnyas\u0131n\u0131n temel ta\u015flar\u0131ndan biridir ve s\u00fcrekli geli\u015fmektedir. PHP 7 serisi, \u00f6nceki s\u00fcr\u00fcmlere k\u0131yasla \u00f6nemli performans iyile\u015ftirmeleri, yeni \u00f6zellikler ve daha iyi bellek y\u00f6netimi sunarak web uygulamalar\u0131n\u0131n daha h\u0131zl\u0131 ve verimli \u00e7al\u0131\u015fmas\u0131n\u0131 sa\u011flam\u0131\u015ft\u0131r. CentOS 7 gibi stabil bir sunucu i\u015fletim sisteminde eski PHP s\u00fcr\u00fcmlerini kullanmak, hem g\u00fcvenlik a\u00e7\u0131klar\u0131 hem de performans darbo\u011fazlar\u0131 a\u00e7\u0131s\u0131ndan riskler ta\u015f\u0131r. Bu makale, CentOS 7 sunucunuzda PHP 7&#8217;ye nas\u0131l g\u00fcvenli ve etkin bir \u015fekilde y\u00fckseltece\u011finizi ad\u0131m ad\u0131m a\u00e7\u0131klayacakt\u0131r.<\/p>\n<h3>Giri\u015f: Neden PHP 7&#8217;ye Y\u00fckseltmelisiniz?<\/h3>\n<p>PHP 7 serisi (7.0&#8217;dan 7.4&#8217;e kadar), PHP&#8217;nin tarihinde en b\u00fcy\u00fck s\u0131\u00e7ramalardan birini temsil eder. Bu s\u00fcr\u00fcm, &#8220;PHPNG&#8221; (Next Generation) projesi kapsam\u0131nda geli\u015ftirilmi\u015f olup, genel olarak PHP 5.x serisine g\u00f6re iki kat\u0131na kadar performans art\u0131\u015f\u0131 sunar. Bu, daha az sunucu kayna\u011f\u0131 kullanarak daha fazla iste\u011fi i\u015fleyebilmeniz anlam\u0131na gelir ki bu da \u00f6zellikle y\u00fcksek trafikli web siteleri i\u00e7in kritik bir avantajd\u0131r.<\/p>\n<p>Performans\u0131n yan\u0131 s\u0131ra, PHP 7 bir\u00e7ok yeni dil \u00f6zelli\u011fi de getirmi\u015ftir:<\/p>\n<p>*   <strong>Skaler Tip Bildirimleri (Scalar Type Declarations):<\/strong> Fonksiyon parametreleri ve d\u00f6n\u00fc\u015f de\u011ferleri i\u00e7in <code>int<\/code>, <code>float<\/code>, <code>string<\/code>, <code>bool<\/code> gibi tipleri belirtebilme.<br \/>\n*   <strong>D\u00f6n\u00fc\u015f Tipi Bildirimleri (Return Type Declarations):<\/strong> Fonksiyonlar\u0131n d\u00f6nd\u00fcrece\u011fi de\u011ferin tipini belirtebilme.<br \/>\n*   <strong>Null Birle\u015ftirme Operat\u00f6r\u00fc (Null Coalescing Operator <code>??<\/code>):<\/strong> Bir de\u011fi\u015fkenin tan\u0131ml\u0131 olup olmad\u0131\u011f\u0131n\u0131 ve null olup olmad\u0131\u011f\u0131n\u0131 kontrol etmeyi basitle\u015ftirir.<br \/>\n*   <strong>Uzay Gemisi Operat\u00f6r\u00fc (Spaceship Operator <code> <=> <\/code>):<\/strong> \u0130ki de\u011feri kar\u015f\u0131la\u015ft\u0131rmak i\u00e7in tek bir operat\u00f6r.<br \/>\n*   <strong>Anonim S\u0131n\u0131flar (Anonymous Classes):<\/strong> Tek kullan\u0131ml\u0131k nesneler olu\u015fturmak i\u00e7in s\u0131n\u0131flar\u0131 do\u011frudan tan\u0131mlayabilme.<br \/>\n*   <strong>Hata \u0130\u015fleme Geli\u015ftirmeleri:<\/strong> Yeni <code>Throwable<\/code> aray\u00fcz\u00fc sayesinde daha tutarl\u0131 hata ve istisna y\u00f6netimi.<\/p>\n<p>Bu yenilikler, daha modern, okunabilir ve bak\u0131m\u0131 kolay kod yazman\u0131za olanak tan\u0131r. Ayr\u0131ca, eski PHP s\u00fcr\u00fcmleri art\u0131k g\u00fcvenlik g\u00fcncellemeleri almad\u0131\u011f\u0131ndan, PHP 7&#8217;ye ge\u00e7i\u015f g\u00fcvenlik a\u00e7\u0131s\u0131ndan da bir zorunluluktur.<\/p>\n<p>Bu y\u00fckseltme s\u00fcreci, sistem y\u00f6neticileri ve web geli\u015ftiricileri i\u00e7in tasarlanm\u0131\u015ft\u0131r. Ba\u015flamadan \u00f6nce, herhangi bir y\u00fckseltme i\u015fleminde oldu\u011fu gibi, yedeklemenin hayati \u00f6nem ta\u015f\u0131d\u0131\u011f\u0131n\u0131 unutmamak gerekir.<\/p>\n<h3>\u00d6n Ko\u015fullar ve Planlama<\/h3>\n<p>PHP y\u00fckseltmesi, \u00f6zellikle canl\u0131 bir sunucuda yap\u0131l\u0131yorsa dikkatli planlama gerektirir. Aceleci davranmak, sitenizin veya uygulamalar\u0131n\u0131z\u0131n \u00e7al\u0131\u015fmamas\u0131na neden olabilir.<\/p>\n<h4>Sistem Gereksinimleri<\/h4>\n<p>*   <strong>CentOS 7 \u0130\u015fletim Sistemi:<\/strong> Bu rehber CentOS 7 i\u00e7in yaz\u0131lm\u0131\u015ft\u0131r.<br \/>\n*   <strong>Root veya Sudo Yetkileri:<\/strong> Y\u00fckseltme i\u015flemleri i\u00e7in sistem genelinde de\u011fi\u015fiklik yapma yetkisine sahip olman\u0131z gerekir.<br \/>\n*   <strong>\u0130nternet Ba\u011flant\u0131s\u0131:<\/strong> Yeni paketleri indirmek i\u00e7in gereklidir.<\/p>\n<h4>Y\u00fckseltme \u00d6ncesi Kontrol Listesi<\/h4>\n<p>1.  <strong>Tam Yedekleme (Olmazsa Olmaz!):<\/strong><br \/>\n    *   <strong>Web Sitesi Dosyalar\u0131:<\/strong> <code>\/var\/www\/html<\/code> veya \u00f6zel web k\u00f6k dizininizdeki t\u00fcm dosyalar\u0131n\u0131z\u0131 yedekleyin.<br \/>\n    *   <strong>Veritabanlar\u0131:<\/strong> MySQL\/MariaDB veya PostgreSQL gibi kulland\u0131\u011f\u0131n\u0131z t\u00fcm veritabanlar\u0131n\u0131n yede\u011fini al\u0131n. <code>mysqldump<\/code> veya <code>pg_dump<\/code> komutlar\u0131 bu i\u015f i\u00e7in idealdir.<br \/>\n    *   <strong>PHP Yap\u0131land\u0131rma Dosyalar\u0131:<\/strong> Mevcut <code>php.ini<\/code> dosyan\u0131z\u0131n ve di\u011fer PHP yap\u0131land\u0131rma dosyalar\u0131n\u0131z\u0131n (\u00f6rne\u011fin <code>\/etc\/php-fpm.d\/www.conf<\/code>) bir kopyas\u0131n\u0131 al\u0131n.<br \/>\n    *   <strong>Web Sunucusu Yap\u0131land\u0131rmalar\u0131:<\/strong> Apache (<code>httpd.conf<\/code>, <code>vhosts<\/code>) veya Nginx (<code>nginx.conf<\/code>, <code>sites-enabled<\/code>) yap\u0131land\u0131rma dosyalar\u0131n\u0131z\u0131 yedekleyin.<\/p>\n<p>2.  <strong>Mevcut PHP S\u00fcr\u00fcm\u00fcn\u00fc Belirleme:<\/strong><br \/>\n    *   Sunucunuzda y\u00fckl\u00fc olan PHP s\u00fcr\u00fcm\u00fcn\u00fc kontrol edin:<\/p>\n<pre><code class=\"language-bash\">php -v<\/code><\/pre>\n<p>    *   Ayr\u0131ca, y\u00fckl\u00fc PHP mod\u00fcllerini g\u00f6rmek i\u00e7in:<\/p>\n<pre><code class=\"language-bash\">php -m<\/code><\/pre>\n<p>3.  <strong>Uygulama Uyumlulu\u011funu Kontrol Etme:<\/strong><br \/>\n    *   Sunucunuzda \u00e7al\u0131\u015fan t\u00fcm PHP tabanl\u0131 uygulamalar\u0131 (WordPress, Joomla, Drupal, Laravel, \u00f6zel uygulamalar vb.) listeleyin.<br \/>\n    <em>   Her uygulaman\u0131n PHP 7 ile uyumlu oldu\u011fundan emin olun. Genellikle, pop\u00fcler CMS&#8217;ler ve framework&#8217;ler PHP 7 ile uyumludur, ancak eski veya \u00f6zel yaz\u0131lm\u0131\u015f uygulamalar uyumluluk sorunlar\u0131 ya\u015fayabilir. Uygulamalar\u0131n resmi belgelerini kontrol edin veya geli\u015ftiricileriyle ileti\u015fime ge\u00e7in. \u00d6zellikle PHP 5.x&#8217;ten 7.x&#8217;e ge\u00e7i\u015fte <code>mysql_<\/em><\/code> fonksiyonlar\u0131n\u0131n kald\u0131r\u0131lmas\u0131 ve kat\u0131 tip denetimleri gibi \u00f6nemli de\u011fi\u015fiklikler eski kodlar\u0131 bozabilir.<\/p>\n<p>4.  <strong>PHP Uzant\u0131lar\u0131 ve Ba\u011f\u0131ml\u0131l\u0131klar\u0131:<\/strong><br \/>\n    *   Uygulamalar\u0131n\u0131z\u0131n kulland\u0131\u011f\u0131 t\u00fcm PHP uzant\u0131lar\u0131n\u0131 not al\u0131n. Y\u00fckseltme sonras\u0131 bu uzant\u0131lar\u0131n PHP 7 i\u00e7in de kurulmas\u0131 gerekecektir. <code>php -m<\/code> \u00e7\u0131kt\u0131s\u0131n\u0131 bir yere kaydedin.<\/p>\n<p>5.  <strong><code>php.ini<\/code> \u00d6zelle\u015ftirmeleri:<\/strong><br \/>\n    *   Mevcut <code>php.ini<\/code> dosyan\u0131zda yap\u0131lan t\u00fcm \u00f6zel ayarlar\u0131 (\u00f6rne\u011fin <code>memory_limit<\/code>, <code>upload_max_filesize<\/code>, <code>date.timezone<\/code> vb.) bir kenara not al\u0131n. Y\u00fckseltme sonras\u0131 bu ayarlar\u0131 yeni <code>php.ini<\/code> dosyas\u0131na uygulaman\u0131z gerekecek.<\/p>\n<p>6.  <strong>Y\u00fckseltme Y\u00f6ntemini Belirleme:<\/strong><br \/>\n    *   <strong>Yerinde Y\u00fckseltme (In-place Upgrade):<\/strong> Mevcut PHP paketlerini kald\u0131r\u0131p yerine PHP 7 paketlerini kurmak. Bu, genellikle daha basittir ancak bir sorun \u00e7\u0131kmas\u0131 durumunda geri d\u00f6n\u00fc\u015f\u00fc daha zor olabilir.<br \/>\n    *   <strong>Paralel Kurulum (Parallel Installation):<\/strong> PHP 7&#8217;yi mevcut PHP s\u00fcr\u00fcm\u00fcne dokunmadan ayr\u0131 bir konumda kurup, daha sonra web sunucusunu yeni PHP s\u00fcr\u00fcm\u00fcn\u00fc kullanacak \u015fekilde yap\u0131land\u0131rmak. Bu y\u00f6ntem daha g\u00fcvenli olabilir ancak yap\u0131land\u0131rmas\u0131 biraz daha karma\u015f\u0131kt\u0131r. Bu rehber yerinde y\u00fckseltme y\u00f6ntemine odaklanacakt\u0131r, ancak dikkatli ad\u0131mlar ve yedeklemelerle g\u00fcvenli hale getirilecektir.<\/p>\n<p>7.  <strong>PHP 7 S\u00fcr\u00fcm\u00fcn\u00fc Se\u00e7me:<\/strong><br \/>\n    *   PHP 7 serisi 7.0, 7.1, 7.2, 7.3 ve 7.4&#8217;ten olu\u015fur. Her s\u00fcr\u00fcm\u00fcn kendi ya\u015fam d\u00f6ng\u00fcs\u00fc vard\u0131r. Genellikle, en son kararl\u0131 s\u00fcr\u00fcm\u00fc (bu makalenin yaz\u0131ld\u0131\u011f\u0131 d\u00f6nemde PHP 7.4 son 7.x s\u00fcr\u00fcm\u00fcyd\u00fc) se\u00e7mek en iyisidir, \u00e7\u00fcnk\u00fc daha fazla \u00f6zellik, performans ve g\u00fcvenlik g\u00fcncellemesi sunar. Ancak uygulama uyumlulu\u011fu da \u00f6nemlidir. REMI deposu genellikle t\u00fcm bu s\u00fcr\u00fcmleri sunar.<\/p>\n<h3>Sisteminizi Haz\u0131rlama<\/h3>\n<p>Y\u00fckseltme i\u015flemine ba\u015flamadan \u00f6nce sisteminizin g\u00fcncel oldu\u011fundan ve gerekli depolar\u0131n etkinle\u015ftirildi\u011finden emin olmal\u0131y\u0131z.<\/p>\n<h4>Sistemi G\u00fcncelleme<\/h4>\n<p>T\u00fcm sistem paketlerini en son s\u00fcr\u00fcmlerine g\u00fcncelleyerek olas\u0131 ba\u011f\u0131ml\u0131l\u0131k sorunlar\u0131n\u0131 \u00f6nleyin:<\/p>\n<pre><code class=\"language-bash\">sudo yum update -y\nsudo yum upgrade -y<\/code><\/pre>\n<p>Bu i\u015flem biraz zaman alabilir. G\u00fcncelleme tamamland\u0131ktan sonra, \u00e7ekirdek g\u00fcncellemeleri yap\u0131ld\u0131ysa sunucuyu yeniden ba\u015flatman\u0131z \u00f6nerilir:<\/p>\n<pre><code class=\"language-bash\">sudo reboot<\/code><\/pre>\n<h4>EPEL ve REMI Depolar\u0131n\u0131 Kurma<\/h4>\n<p>CentOS&#8217;un varsay\u0131lan depolar\u0131 genellikle en son PHP s\u00fcr\u00fcmlerini i\u00e7ermez. PHP 7&#8217;yi kurmak i\u00e7in \u00fc\u00e7\u00fcnc\u00fc taraf bir depoya ihtiyac\u0131m\u0131z var. REMI deposu, CentOS i\u00e7in en g\u00fcncel ve g\u00fcvenilir PHP paketlerini sunar. REMI deposu genellikle EPEL (Extra Packages for Enterprise Linux) deposuna ba\u011f\u0131ml\u0131d\u0131r, bu y\u00fczden \u00f6nce onu kurmal\u0131y\u0131z.<\/p>\n<p>1.  <strong>EPEL deposunu kurun:<\/strong><\/p>\n<pre><code class=\"language-bash\">sudo yum install epel-release -y<\/code><\/pre>\n<p>2.  <strong>REMI deposunu kurun:<\/strong><\/p>\n<pre><code class=\"language-bash\">sudo yum install http:\/\/rpms.remirepo.net\/enterprise\/remi-release-7.rpm -y<\/code><\/pre>\n<p>Bu depolar\u0131 kurduktan sonra, <code>yum<\/code> paket y\u00f6neticisi art\u0131k PHP&#8217;nin farkl\u0131 s\u00fcr\u00fcmlerini ve uzant\u0131lar\u0131n\u0131 REMI deposundan listeleyebilir ve y\u00fckleyebilir.<\/p>\n<h4>Mevcut PHP Kurulumunu Devre D\u0131\u015f\u0131 B\u0131rakma\/Kald\u0131rma<\/h4>\n<p>Bu ad\u0131m, mevcut PHP s\u00fcr\u00fcm\u00fcn\u00fcz\u00fcn nas\u0131l kuruldu\u011funa ba\u011fl\u0131 olarak de\u011fi\u015febilir. E\u011fer PHP, CentOS&#8217;un varsay\u0131lan depolar\u0131ndan kurulduysa, REMI deposundan yeni bir PHP s\u00fcr\u00fcm\u00fc kurarken \u00e7ak\u0131\u015fmalar\u0131 \u00f6nlemek i\u00e7in eski s\u00fcr\u00fcm\u00fc devre d\u0131\u015f\u0131 b\u0131rakmak veya kald\u0131rmak en iyisidir.<\/p>\n<p><strong>\u00d6nemli Uyar\u0131:<\/strong> <code>sudo yum remove php*<\/code> komutu, PHP ile birlikte ba\u011f\u0131ml\u0131 olan baz\u0131 uygulamalar\u0131 da kald\u0131rabilir. Bu y\u00fczden bu komutu dikkatli kullan\u0131n ve \u00f6ncesinde iyi bir yedeklemeye sahip oldu\u011funuzdan emin olun. Daha g\u00fcvenli bir yakla\u015f\u0131m, REMI deposunu etkinle\u015ftirirken varsay\u0131lan PHP mod\u00fcl\u00fcn\u00fc devre d\u0131\u015f\u0131 b\u0131rakmakt\u0131r.<\/p>\n<p>CentOS 7&#8217;de <code>yum module<\/code> komutu genellikle CentOS 8&#8217;deki kadar yayg\u0131n de\u011fildir. Ancak, PHP&#8217;yi REMI&#8217;den kurarken, REMI&#8217;nin PHP mod\u00fcl\u00fcn\u00fc etkinle\u015ftirmek, di\u011fer PHP mod\u00fcllerini (varsay\u0131lan) otomatik olarak devre d\u0131\u015f\u0131 b\u0131rakabilir.<\/p>\n<p>\u00d6nce mevcut PHP mod\u00fcllerini listeleyelim ve etkin olanlar\u0131 kontrol edelim:<\/p>\n<pre><code class=\"language-bash\">sudo yum module list php<\/code><\/pre>\n<p>Bu komut, hangi PHP s\u00fcr\u00fcmlerinin mevcut oldu\u011funu ve hangisinin etkinle\u015ftirildi\u011fini g\u00f6sterecektir. \u00d6rne\u011fin, <code>php:7.2<\/code> gibi bir \u015fey g\u00f6rebilirsiniz.<\/p>\n<p>E\u011fer daha \u00f6nce PHP&#8217;yi do\u011frudan <code>yum install php<\/code> ile kurduysan\u0131z ve REMI&#8217;den yeni bir s\u00fcr\u00fcm etkinle\u015ftirecekseniz, genellikle eski s\u00fcr\u00fcmlerle \u00e7ak\u0131\u015fma ya\u015fanmaz. Ancak, temiz bir kurulum i\u00e7in eski PHP paketlerini kald\u0131rmak isteyebilirsiniz:<\/p>\n<pre><code class=\"language-bash\">sudo yum remove php php-cli php-fpm php-common -y<\/code><\/pre>\n<p>Bu komutu \u00e7al\u0131\u015ft\u0131rd\u0131ktan sonra, sistemin kald\u0131rmak istedi\u011fi ba\u011f\u0131ml\u0131l\u0131klar\u0131 dikkatlice inceleyin. E\u011fer WordPress gibi uygulamalar\u0131n\u0131z bu kald\u0131rma i\u015flemiyle birlikte gidecek gibi g\u00f6r\u00fcn\u00fcyorsa, i\u015flemi iptal edip daha dikkatli bir yol izlemelisiniz. Genellikle, REMI&#8217;den yeni PHP s\u00fcr\u00fcm\u00fcn\u00fc kurarken eski paketler \u00fczerine yaz\u0131l\u0131r veya do\u011fru \u015fekilde y\u00f6netilir.<\/p>\n<p>Alternatif olarak, sadece eski PHP yap\u0131land\u0131rma dosyalar\u0131n\u0131 temizleyebilirsiniz:<\/p>\n<pre><code class=\"language-bash\">sudo rm -rf \/etc\/php.d\/<em> \/etc\/php.ini \/etc\/php-fpm.d\/<\/em><\/code><\/pre>\n<p><strong>Bu komutu da dikkatli kullan\u0131n ve \u00f6ncesinde yedekleme yapt\u0131\u011f\u0131n\u0131zdan emin olun.<\/strong><\/p>\n<h3>PHP 7 Kurulumu<\/h3>\n<p>Art\u0131k sistemimiz haz\u0131r oldu\u011funa g\u00f6re, PHP 7&#8217;yi kurmaya ba\u015flayabiliriz.<\/p>\n<h4>Belirli Bir PHP 7 S\u00fcr\u00fcm\u00fcn\u00fc Se\u00e7me ve Etkinle\u015ftirme<\/h4>\n<p>REMI deposu, PHP&#8217;nin birden fazla s\u00fcr\u00fcm\u00fcn\u00fc sunar. Kurmak istedi\u011finiz PHP 7 s\u00fcr\u00fcm\u00fcn\u00fc (\u00f6rne\u011fin PHP 7.4) etkinle\u015ftirmelisiniz.<\/p>\n<p>\u00d6nce REMI deposunda hangi PHP mod\u00fcllerinin mevcut oldu\u011funu listeleyelim:<\/p>\n<pre><code class=\"language-bash\">sudo yum module list php<\/code><\/pre>\n<p>\u00c7\u0131kt\u0131 \u015f\u00f6yle bir \u015feye benzeyebilir:<\/p>\n<pre><code class=\"language-\">remi-7.2 [d]\nremi-7.3\nremi-7.4<\/code><\/pre>\n<p><code>[d]<\/code> ile i\u015faretli olan, varsay\u0131lan olarak etkinle\u015ftirilmi\u015f olan mod\u00fcld\u00fcr. E\u011fer ba\u015fka bir s\u00fcr\u00fcm kurmak istiyorsan\u0131z, \u00f6nce mevcut etkin mod\u00fcl\u00fc s\u0131f\u0131rlaman\u0131z ve ard\u0131ndan istedi\u011finiz s\u00fcr\u00fcm\u00fc etkinle\u015ftirmeniz gerekir.<\/p>\n<p>\u00d6rne\u011fin, PHP 7.4&#8217;\u00fc kurmak i\u00e7in:<br \/>\n1.  <strong>PHP mod\u00fcl\u00fcn\u00fc s\u0131f\u0131rlay\u0131n (varsa):<\/strong><\/p>\n<pre><code class=\"language-bash\">sudo yum module reset php -y<\/code><\/pre>\n<p>2.  <strong>PHP 7.4 mod\u00fcl\u00fcn\u00fc etkinle\u015ftirin:<\/strong><\/p>\n<pre><code class=\"language-bash\">sudo yum module enable php:remi-7.4 -y<\/code><\/pre>\n<p>    Bu komut, <code>php<\/code> mod\u00fcl\u00fcn\u00fc REMI deposundaki 7.4 s\u00fcr\u00fcm\u00fcne i\u015faret edecek \u015fekilde ayarlar.<\/p>\n<h4>PHP 7 ve Temel Uzant\u0131lar\u0131 Kurma<\/h4>\n<p>Mod\u00fcl\u00fc etkinle\u015ftirdikten sonra, PHP 7&#8217;yi ve web uygulamalar\u0131 i\u00e7in en yayg\u0131n kullan\u0131lan uzant\u0131lar\u0131 kurabiliriz.<\/p>\n<pre><code class=\"language-bash\">sudo yum install php php-cli php-fpm php-mysqlnd php-gd php-opcache php-xml php-mbstring php-json php-zip -y<\/code><\/pre>\n<p>Bu komutta kurulan temel uzant\u0131lar ve ama\u00e7lar\u0131:<br \/>\n*   <strong><code>php<\/code>:<\/strong> PHP&#8217;nin \u00e7ekirdek paketi.<br \/>\n*   <strong><code>php-cli<\/code>:<\/strong> Komut sat\u0131r\u0131 aray\u00fcz\u00fc i\u00e7in PHP (\u00f6rne\u011fin <code>php -v<\/code> komutu i\u00e7in).<br \/>\n*   <strong><code>php-fpm<\/code>:<\/strong> FastCGI Process Manager; Nginx veya Apache ile PHP uygulamalar\u0131n\u0131 \u00e7al\u0131\u015ft\u0131rmak i\u00e7in gereklidir.<br \/>\n*   <strong><code>php-mysqlnd<\/code>:<\/strong> MySQL\/MariaDB veritabanlar\u0131na ba\u011flanmak i\u00e7in gerekli yerel s\u00fcr\u00fcc\u00fc. <code>mysql<\/code> uzant\u0131s\u0131n\u0131n modern ve performansl\u0131 alternatifidir.<br \/>\n*   <strong><code>php-gd<\/code>:<\/strong> G\u00f6r\u00fcnt\u00fc i\u015fleme fonksiyonlar\u0131 i\u00e7in (\u00f6rne\u011fin, resim boyutland\u0131rma, watermark ekleme).<br \/>\n*   <strong><code>php-opcache<\/code>:<\/strong> PHP kodunu \u00f6nbelle\u011fe alarak performans\u0131 art\u0131ran bir uzant\u0131. Genellikle \u015fiddetle \u00f6nerilir.<br \/>\n*   <strong><code>php-xml<\/code>:<\/strong> XML verilerini i\u015flemek i\u00e7in.<br \/>\n*   <strong><code>php-mbstring<\/code>:<\/strong> \u00c7ok baytl\u0131 dizeleri (multi-byte strings) i\u015flemek i\u00e7in (\u00f6rne\u011fin, T\u00fcrk\u00e7e karakterler).<br \/>\n*   <strong><code>php-json<\/code>:<\/strong> JSON verilerini i\u015flemek i\u00e7in.<br \/>\n*   <strong><code>php-zip<\/code>:<\/strong> Zip dosyalar\u0131n\u0131 okuma ve yazma yetene\u011fi i\u00e7in.<\/p>\n<h4>Ek PHP Uzant\u0131lar\u0131 Kurma<\/h4>\n<p>Uygulamalar\u0131n\u0131z\u0131n ihtiya\u00e7 duydu\u011fu di\u011fer uzant\u0131lar\u0131 da kurman\u0131z gerekebilir. \u00d6nceden kaydetti\u011finiz <code>php -m<\/code> \u00e7\u0131kt\u0131s\u0131na bakarak eksik uzant\u0131lar\u0131 belirleyin.<\/p>\n<p>\u00d6rne\u011fin, <code>php-pear<\/code>, <code>php-devel<\/code>, <code>php-intl<\/code>, <code>php-soap<\/code>, <code>php-ldap<\/code> gibi uzant\u0131lar\u0131 kurmak i\u00e7in:<\/p>\n<pre><code class=\"language-bash\">sudo yum install php-pear php-devel php-intl php-soap php-ldap -y<\/code><\/pre>\n<p>Mevcut t\u00fcm PHP uzant\u0131lar\u0131n\u0131 aramak i\u00e7in:<\/p>\n<pre><code class=\"language-bash\">sudo yum search php-<\/code><\/pre>\n<p>Bu komut, REMI deposundaki t\u00fcm <code>php-<\/code> ile ba\u015flayan paketleri listeleyecektir. \u0130htiyac\u0131n\u0131z olanlar\u0131 bu listeden se\u00e7ip kurabilirsiniz.<\/p>\n<h3>PHP 7&#8217;yi Yap\u0131land\u0131rma<\/h3>\n<p>PHP 7&#8217;yi kurduktan sonra, onu web sunucunuzla (Apache veya Nginx) d\u00fczg\u00fcn bir \u015fekilde \u00e7al\u0131\u015facak \u015fekilde yap\u0131land\u0131rman\u0131z gerekir. Bu genellikle PHP-FPM&#8217;yi etkinle\u015ftirmeyi ve <code>php.ini<\/code> ayarlar\u0131n\u0131 d\u00fczenlemeyi i\u00e7erir.<\/p>\n<h4>PHP-FPM Yap\u0131land\u0131rmas\u0131<\/h4>\n<p>PHP-FPM (FastCGI Process Manager), PHP&#8217;yi web sunucusundan ayr\u0131 bir i\u015flem olarak \u00e7al\u0131\u015ft\u0131rman\u0131n en yayg\u0131n ve performansl\u0131 yoludur.<\/p>\n<p>1.  <strong>PHP-FPM servisini ba\u015flat\u0131n ve sistem ba\u015flang\u0131c\u0131nda otomatik ba\u015flamas\u0131 i\u00e7in etkinle\u015ftirin:<\/strong><\/p>\n<pre><code class=\"language-bash\">sudo systemctl start php-fpm\n    sudo systemctl enable php-fpm<\/code><\/pre>\n<p>2.  <strong>PHP-FPM servisinin durumunu kontrol edin:<\/strong><\/p>\n<pre><code class=\"language-bash\">sudo systemctl status php-fpm<\/code><\/pre>\n<p>    Durum <code>active (running)<\/code> olarak g\u00f6r\u00fcnmelidir.<\/p>\n<p>3.  <strong>PHP-FPM yap\u0131land\u0131rma dosyalar\u0131n\u0131 inceleyin:<\/strong><br \/>\n    *   Ana yap\u0131land\u0131rma dosyas\u0131: <code>\/etc\/php-fpm.conf<\/code><br \/>\n    *   Havuz (pool) yap\u0131land\u0131rma dosyalar\u0131: <code>\/etc\/php-fpm.d\/www.conf<\/code> (varsay\u0131lan)<\/p>\n<p>    <code>www.conf<\/code> dosyas\u0131nda dikkat etmeniz gereken baz\u0131 \u00f6nemli ayarlar:<br \/>\n    *   <code>user<\/code> ve <code>group<\/code>: PHP-FPM i\u015flemlerinin hangi kullan\u0131c\u0131 ve grup alt\u0131nda \u00e7al\u0131\u015faca\u011f\u0131n\u0131 belirler. Genellikle Apache i\u00e7in <code>apache<\/code>, Nginx i\u00e7in <code>nginx<\/code> olarak ayarlan\u0131r.<\/p>\n<pre><code class=\"language-ini\">user = apache\n        group = apache<\/code><\/pre>\n<p>    *   <code>listen<\/code>: PHP-FPM&#8217;nin web sunucusundan gelen istekleri dinleyece\u011fi adres ve port veya Unix soketidir. Unix soketleri genellikle daha performansl\u0131d\u0131r.<\/p>\n<pre><code class=\"language-ini\">listen = \/run\/php-fpm\/www.sock<\/code><\/pre>\n<p>        veya TCP\/IP i\u00e7in:<\/p>\n<pre><code class=\"language-ini\">listen = 127.0.0.1:9000<\/code><\/pre>\n<p>        Kulland\u0131\u011f\u0131n\u0131z web sunucusunun yap\u0131land\u0131rmas\u0131na uygun olan\u0131 se\u00e7melisiniz. Varsay\u0131lan olarak Unix soketi tercih edilir.<\/p>\n<h4><code>php.ini<\/code> Ayarlar\u0131<\/h4>\n<p>PHP&#8217;nin genel \u00e7al\u0131\u015fma zaman\u0131 ayarlar\u0131 <code>php.ini<\/code> dosyas\u0131nda bulunur. PHP-FPM kullan\u0131rken, CLI i\u00e7in <code>\/etc\/php.ini<\/code> ve FPM i\u00e7in <code>\/etc\/php-fpm.d\/www.conf<\/code> i\u00e7inde veya <code>\/etc\/php.d\/*.ini<\/code> dosyalar\u0131nda ek ayarlar bulabilirsiniz.<\/p>\n<p>Baz\u0131 \u00f6nemli <code>php.ini<\/code> ayarlar\u0131 ve \u00f6nerilen de\u011ferler:<br \/>\n*   <strong><code>memory_limit<\/code>:<\/strong> PHP script&#8217;lerinin kullanabilece\u011fi maksimum bellek miktar\u0131. Uygulaman\u0131z\u0131n ihtiya\u00e7lar\u0131na g\u00f6re art\u0131r\u0131n (\u00f6rne\u011fin, WordPress i\u00e7in 256M veya 512M).<\/p>\n<pre><code class=\"language-ini\">memory_limit = 256M<\/code><\/pre>\n<p>*   <strong><code>upload_max_filesize<\/code>:<\/strong> HTTP POST y\u00f6ntemiyle y\u00fcklenebilecek maksimum dosya boyutu.<br \/>\n*   <strong><code>post_max_size<\/code>:<\/strong> HTTP POST verilerinin maksimum boyutu. Genellikle <code>upload_max_filesize<\/code> de\u011ferinden b\u00fcy\u00fck veya e\u015fit olmal\u0131d\u0131r.<\/p>\n<pre><code class=\"language-ini\">upload_max_filesize = 64M\n    post_max_size = 64M<\/code><\/pre>\n<p>*   <strong><code>max_execution_time<\/code>:<\/strong> Bir script&#8217;in \u00e7al\u0131\u015fmas\u0131na izin verilen maksimum s\u00fcre (saniye cinsinden). Uzun s\u00fcren i\u015flemler i\u00e7in art\u0131r\u0131labilir.<\/p>\n<pre><code class=\"language-ini\">max_execution_time = 300<\/code><\/pre>\n<p>*   <strong><code>date.timezone<\/code>:<\/strong> Sunucunuzun saat dilimini ayarlay\u0131n. Bu ayar, tarih ve saat fonksiyonlar\u0131n\u0131n do\u011fru \u00e7al\u0131\u015fmas\u0131 i\u00e7in kritik \u00f6neme sahiptir.<\/p>\n<pre><code class=\"language-ini\">date.timezone = Europe\/Istanbul<\/code><\/pre>\n<p>    Ge\u00e7erli saat dilimlerinin listesini PHP belgelerinden bulabilirsiniz.<br \/>\n*   <strong><code>display_errors<\/code>:<\/strong> Hatalar\u0131n taray\u0131c\u0131da g\u00f6sterilip g\u00f6sterilmeyece\u011fini belirler. Geli\u015ftirme ortam\u0131nda <code>On<\/code>, \u00fcretim ortam\u0131nda <code>Off<\/code> olmal\u0131d\u0131r.<\/p>\n<pre><code class=\"language-ini\">display_errors = Off<\/code><\/pre>\n<p>*   <strong><code>log_errors<\/code>:<\/strong> Hatalar\u0131n log dosyas\u0131na yaz\u0131l\u0131p yaz\u0131lmayaca\u011f\u0131n\u0131 belirler. \u00dcretim ortam\u0131nda <code>On<\/code> olmal\u0131d\u0131r.<\/p>\n<pre><code class=\"language-ini\">log_errors = On<\/code><\/pre>\n<p>*   <strong><code>error_log<\/code>:<\/strong> Hata log dosyas\u0131n\u0131n yolu.<\/p>\n<pre><code class=\"language-ini\">error_log = \/var\/log\/php-fpm\/www-error.log<\/code><\/pre>\n<p>*   <strong><code>opcache<\/code> ayarlar\u0131:<\/strong> <code>\/etc\/php.d\/10-opcache.ini<\/code> dosyas\u0131nda bulunur. Performans i\u00e7in etkinle\u015ftirildi\u011finden emin olun ve <code>opcache.revalidate_freq<\/code> gibi ayarlar\u0131 optimize edin.<\/p>\n<pre><code class=\"language-ini\">opcache.enable=1\n    opcache.memory_consumption=128\n    opcache.interned_strings_buffer=8\n    opcache.max_accelerated_files=4000\n    opcache.revalidate_freq=60\n    opcache.fast_shutdown=1<\/code><\/pre>\n<p>    Bu ayarlar\u0131 de\u011fi\u015ftirdikten sonra PHP-FPM servisini yeniden ba\u015flatmay\u0131 unutmay\u0131n:<\/p>\n<pre><code class=\"language-bash\">sudo systemctl restart php-fpm<\/code><\/pre>\n<h4>Web Sunucusu Yap\u0131land\u0131rmas\u0131 (Apache\/Nginx)<\/h4>\n<p>Web sunucunuzun, PHP isteklerini yeni PHP-FPM servisine y\u00f6nlendirmesi i\u00e7in yap\u0131land\u0131r\u0131lmas\u0131 gerekir.<\/p>\n<h5>Apache HTTP Sunucusu \u0130\u00e7in<\/h5>\n<p>1.  <strong><code>mod_php<\/code>&#8216;yi devre d\u0131\u015f\u0131 b\u0131rak\u0131n (e\u011fer kullan\u0131l\u0131yorsa):<\/strong><br \/>\n    E\u011fer daha \u00f6nce <code>mod_php<\/code> kullan\u0131yorsan\u0131z, PHP-FPM ile \u00e7ak\u0131\u015fmamas\u0131 i\u00e7in onu devre d\u0131\u015f\u0131 b\u0131rakmal\u0131s\u0131n\u0131z.<\/p>\n<pre><code class=\"language-bash\">sudo yum remove mod_php # veya sudo a2dismod phpX.X<\/code><\/pre>\n<p>    Veya ilgili yap\u0131land\u0131rma dosyas\u0131ndan <code>LoadModule phpX_module<\/code> sat\u0131r\u0131n\u0131 yorum sat\u0131r\u0131 yap\u0131n.<\/p>\n<p>2.  <strong><code>mod_proxy_fcgi<\/code> mod\u00fcl\u00fcn\u00fc etkinle\u015ftirin:<\/strong><br \/>\n    Apache&#8217;nin PHP-FPM ile FastCGI \u00fczerinden ileti\u015fim kurmas\u0131n\u0131 sa\u011flar. Bu mod\u00fcl genellikle varsay\u0131lan olarak y\u00fckl\u00fcd\u00fcr, ancak etkinle\u015ftirilmesi gerekebilir.<br \/>\n    <code>\/etc\/httpd\/conf\/httpd.conf<\/code> veya <code>\/etc\/httpd\/conf.d\/proxy_fcgi.conf<\/code> gibi bir dosyada \u015fu sat\u0131r\u0131n oldu\u011fundan emin olun:<\/p>\n<pre><code class=\"language-apache\">LoadModule proxy_fcgi_module modules\/mod_proxy_fcgi.so<\/code><\/pre>\n<p>3.  <strong>Sanal Hostlar\u0131 Yap\u0131land\u0131r\u0131n:<\/strong><br \/>\n    Web sitenizin sanal host yap\u0131land\u0131rma dosyas\u0131nda (\u00f6rne\u011fin <code>\/etc\/httpd\/conf.d\/vhost.conf<\/code>), <code>.php<\/code> uzant\u0131l\u0131 dosyalar\u0131n PHP-FPM&#8217;e y\u00f6nlendirilmesini sa\u011flay\u0131n.<\/p>\n<p>    <strong>Unix Soketi Kullan\u0131m\u0131 (\u00d6nerilen):<\/strong><\/p>\n<pre><code class=\"language-apache\"><VirtualHost *:80>\n        ServerName yourdomain.com\n        DocumentRoot \/var\/www\/html\/yourdomain.com\/public\n\n        <Directory \/var\/www\/html\/yourdomain.com\/public>\n            Options Indexes FollowSymLinks\n            AllowOverride All\n            Require all granted\n        <\/Directory>\n\n        <FilesMatch \\.php$>\n            SetHandler \"proxy:unix:\/run\/php-fpm\/www.sock|fcgi:\/\/localhost\/\"\n        <\/FilesMatch>\n\n        ErrorLog \/var\/log\/httpd\/yourdomain.com_error.log\n        CustomLog \/var\/log\/httpd\/yourdomain.com_access.log combined\n    <\/VirtualHost><\/code><\/pre>\n<p>    <strong>TCP\/IP Portu Kullan\u0131m\u0131 (Alternatif):<\/strong><\/p>\n<pre><code class=\"language-apache\"><FilesMatch \\.php$>\n        SetHandler \"proxy:fcgi:\/\/127.0.0.1:9000\"\n    <\/FilesMatch><\/code><\/pre>\n<p>4.  <strong>Apache&#8217;yi yeniden ba\u015flat\u0131n:<\/strong><\/p>\n<pre><code class=\"language-bash\">sudo systemctl restart httpd<\/code><\/pre>\n<h5>Nginx Sunucusu \u0130\u00e7in<\/h5>\n<p>1.  <strong>Sanal Hostlar\u0131 Yap\u0131land\u0131r\u0131n:<\/strong><br \/>\n    Web sitenizin Nginx sanal host yap\u0131land\u0131rma dosyas\u0131nda (\u00f6rne\u011fin <code>\/etc\/nginx\/conf.d\/yourdomain.com.conf<\/code>), <code>.php<\/code> uzant\u0131l\u0131 dosyalar\u0131n PHP-FPM&#8217;e y\u00f6nlendirilmesini sa\u011flay\u0131n.<\/p>\n<pre><code class=\"language-nginx\">server {\n        listen 80;\n        server_name yourdomain.com www.yourdomain.com;\n        root \/var\/www\/html\/yourdomain.com\/public;\n        index index.php index.html index.htm;\n\n        location \/ {\n            try_files $uri $uri\/ \/index.php?$query_string;\n        }\n\n        location ~ \\.php$ {\n            # Unix Soketi Kullan\u0131m\u0131 (\u00d6nerilen)\n            fastcgi_pass unix:\/run\/php-fpm\/www.sock;\n            # TCP\/IP Portu Kullan\u0131m\u0131 (Alternatif)\n            # fastcgi_pass 127.0.0.1:9000;\n\n            fastcgi_index index.php;\n            fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;\n            include fastcgi_params;\n        }\n\n        # WordPress gibi uygulamalar i\u00e7in .htaccess'i taklit etmek \u00fczere\n        # location ~ \/\\.ht {\n        #     deny all;\n        # }\n    }<\/code><\/pre>\n<p>2.  <strong>Nginx yap\u0131land\u0131rmas\u0131n\u0131 test edin ve yeniden ba\u015flat\u0131n:<\/strong><\/p>\n<pre><code class=\"language-bash\">sudo nginx -t\n    sudo systemctl restart nginx<\/code><\/pre>\n<h3>Y\u00fckseltme Sonras\u0131 Do\u011frulama ve Sorun Giderme<\/h3>\n<p>PHP 7&#8217;yi kurup yap\u0131land\u0131rd\u0131ktan sonra, her \u015feyin d\u00fczg\u00fcn \u00e7al\u0131\u015ft\u0131\u011f\u0131ndan emin olmak i\u00e7in do\u011frulama yapman\u0131z ve olas\u0131 sorunlar\u0131 gidermeniz gerekir.<\/p>\n<h4>PHP S\u00fcr\u00fcm\u00fcn\u00fc Do\u011frulama<\/h4>\n<p>1.  <strong>Komut Sat\u0131r\u0131 (CLI) PHP s\u00fcr\u00fcm\u00fcn\u00fc kontrol edin:<\/strong><\/p>\n<pre><code class=\"language-bash\">php -v<\/code><\/pre>\n<p>    \u00c7\u0131kt\u0131da PHP 7.x s\u00fcr\u00fcm\u00fcn\u00fc g\u00f6rmelisiniz (\u00f6rne\u011fin <code>PHP 7.4.X<\/code>).<\/p>\n<p>2.  <strong>Web Sunucusu PHP s\u00fcr\u00fcm\u00fcn\u00fc kontrol edin:<\/strong><br \/>\n    Web sitenizin k\u00f6k dizininde (\u00f6rne\u011fin <code>\/var\/www\/html\/yourdomain.com\/public<\/code>) <code>info.php<\/code> ad\u0131nda bir dosya olu\u015fturun ve i\u00e7ine \u015fu kodu yap\u0131\u015ft\u0131r\u0131n:<\/p>\n<pre><code class=\"language-php\"><?php\n    phpinfo();\n    ?><\/code><\/pre>\n<p>    Taray\u0131c\u0131n\u0131zda <code>http:\/\/yourdomain.com\/info.php<\/code> adresine gidin. A\u00e7\u0131lan sayfada PHP 7.x s\u00fcr\u00fcm bilgilerini ve t\u00fcm yap\u0131land\u0131rma ayarlar\u0131n\u0131 g\u00f6rmelisiniz. Bu sayfay\u0131 do\u011frulama sonras\u0131 g\u00fcvenlik nedeniyle sunucunuzdan kald\u0131rmay\u0131 unutmay\u0131n.<\/p>\n<h4>Uygulamalar\u0131 Test Etme<\/h4>\n<p>T\u00fcm PHP tabanl\u0131 uygulamalar\u0131n\u0131z\u0131 (WordPress, Laravel vb.) detayl\u0131 bir \u015fekilde test edin.<br \/>\n*   T\u00fcm sayfalar\u0131 ziyaret edin.<br \/>\n*   Formlar\u0131 g\u00f6nderin.<br \/>\n*   Giri\u015f\/\u00e7\u0131k\u0131\u015f i\u015flemlerini kontrol edin.<br \/>\n*   Veritaban\u0131 ba\u011flant\u0131lar\u0131n\u0131 test edin.<br \/>\n*   Resim y\u00fckleme, dosya indirme gibi i\u015flemleri kontrol edin.<br \/>\n*   T\u00fcm y\u00f6netim panellerini kontrol edin.<\/p>\n<h4>Ortak Sorunlar ve \u00c7\u00f6z\u00fcmleri<\/h4>\n<p>1.  <strong>Eksik PHP Uzant\u0131lar\u0131:<\/strong><br \/>\n    *   <strong>Belirti:<\/strong> Uygulama hatalar\u0131, beyaz ekran, <code>Call to undefined function<\/code> hatalar\u0131.<br \/>\n    *   <strong>\u00c7\u00f6z\u00fcm:<\/strong> Uygulaman\u0131z\u0131n ihtiya\u00e7 duydu\u011fu eksik uzant\u0131lar\u0131 <code>sudo yum install php-uzant\u0131_ad\u0131<\/code> komutuyla kurun ve PHP-FPM&#8217;yi yeniden ba\u015flat\u0131n. <code>info.php<\/code> sayfas\u0131ndan y\u00fckl\u00fc uzant\u0131lar\u0131 kontrol edebilirsiniz.<\/p>\n<p>2.  <strong>PHP 7 Uyumluluk Sorunlar\u0131:<\/strong><br \/>\n    *   <strong>Belirti:<\/strong> Uygulama hatalar\u0131, \u00f6zellikle eski kodlarda <code>Deprecated<\/code> veya <code>Fatal error<\/code> mesajlar\u0131.<br \/>\n    <em>   <strong>\u00c7\u00f6z\u00fcm:<\/strong> PHP 5.x&#8217;ten 7.x&#8217;e ge\u00e7i\u015fte kald\u0131r\u0131lan veya de\u011fi\u015ftirilen fonksiyonlar nedeniyle eski kodlar \u00e7al\u0131\u015fmayabilir. \u00d6zellikle <code>mysql_<\/em><\/code> fonksiyonlar\u0131 PHP 7&#8217;de tamamen kald\u0131r\u0131lm\u0131\u015ft\u0131r. Bu t\u00fcr durumlarda uygulaman\u0131z\u0131n kodunu PHP 7 ile uyumlu hale getirmeniz veya uygulaman\u0131n g\u00fcncel bir s\u00fcr\u00fcm\u00fcn\u00fc kullanman\u0131z gerekir. PHP&#8217;nin resmi migration rehberlerini inceleyin.<\/p>\n<p>3.  <strong>\u0130zin Sorunlar\u0131:<\/strong><br \/>\n    *   <strong>Belirti:<\/strong> Uygulaman\u0131n dosya yazma\/okuma izinleri olmad\u0131\u011f\u0131nda hatalar (\u00f6rne\u011fin, resim y\u00fckleyememe, log yazamama).<br \/>\n    *   <strong>\u00c7\u00f6z\u00fcm:<\/strong> PHP-FPM&#8217;nin \u00e7al\u0131\u015ft\u0131\u011f\u0131 kullan\u0131c\u0131 ve grubun (genellikle <code>apache<\/code> veya <code>nginx<\/code>), web k\u00f6k dizini ve ilgili alt dizinlere (\u00f6rne\u011fin <code>wp-content\/uploads<\/code>, <code>storage<\/code> klas\u00f6rleri) do\u011fru okuma\/yazma izinlerine sahip oldu\u011fundan emin olun.<\/p>\n<pre><code class=\"language-bash\">sudo chown -R apache:apache \/var\/www\/html\/yourdomain.com\n        sudo find \/var\/www\/html\/yourdomain.com -type d -exec chmod 755 {} \\;\n        sudo find \/var\/www\/html\/yourdomain.com -type f -exec chmod 644 {} \\;<\/code><\/pre>\n<p>        WordPress i\u00e7in \u00f6zel izinler gerekebilir (\u00f6rne\u011fin, <code>wp-content<\/code> klas\u00f6r\u00fc i\u00e7in 775 veya 777).<\/p>\n<p>4.  <strong>SELinux Engellemeleri:<\/strong><br \/>\n    *   <strong>Belirti:<\/strong> PHP-FPM veya web sunucusu loglar\u0131nda <code>AVC denied<\/code> hatalar\u0131, ba\u011flant\u0131 kurulamamas\u0131.<br \/>\n    *   <strong>\u00c7\u00f6z\u00fcm:<\/strong> E\u011fer SELinux etkinse, baz\u0131 i\u015flemleri engelleyebilir. <code>audit.log<\/code> dosyas\u0131n\u0131 kontrol edin (<code>sudo cat \/var\/log\/audit\/audit.log | grep AVC<\/code>). Gerekirse SELinux politikalar\u0131n\u0131 ayarlay\u0131n veya ge\u00e7ici olarak devre d\u0131\u015f\u0131 b\u0131rak\u0131n (\u00fcretim ortam\u0131nda \u00f6nerilmez).<br \/>\n        \u00d6rne\u011fin, Apache&#8217;nin a\u011f ba\u011flant\u0131s\u0131 kurmas\u0131na izin vermek i\u00e7in:<\/p>\n<pre><code class=\"language-bash\">sudo setsebool -P httpd_can_network_connect 1<\/code><\/pre>\n<p>        Veya PHP-FPM soketi i\u00e7in:<\/p>\n<pre><code class=\"language-bash\">sudo semanage fcontext -a -t httpd_var_run_t \"\/run\/php-fpm\/www.sock\"\n        sudo restorecon -v \"\/run\/php-fpm\/www.sock\"<\/code><\/pre>\n<p>5.  <strong>G\u00fcvenlik Duvar\u0131 (Firewall) Sorunlar\u0131:<\/strong><br \/>\n    *   <strong>Belirti:<\/strong> Web sitesine eri\u015filememesi, ba\u011flant\u0131 zaman a\u015f\u0131m\u0131.<br \/>\n    *   <strong>\u00c7\u00f6z\u00fcm:<\/strong> E\u011fer <code>firewalld<\/code> kullan\u0131yorsan\u0131z, HTTP (80) ve HTTPS (443) portlar\u0131n\u0131n a\u00e7\u0131k oldu\u011fundan emin olun.<\/p>\n<pre><code class=\"language-bash\">sudo firewall-cmd --add-service=http --permanent\n        sudo firewall-cmd --add-service=https --permanent\n        sudo firewall-cmd --reload<\/code><\/pre>\n<p>6.  <strong>PHP-FPM veya Web Sunucusu Loglar\u0131:<\/strong><br \/>\n    *   Herhangi bir sorunla kar\u015f\u0131la\u015ft\u0131\u011f\u0131n\u0131zda, PHP-FPM loglar\u0131n\u0131 (<code>\/var\/log\/php-fpm\/www-error.log<\/code>) ve web sunucusu loglar\u0131n\u0131 (Apache i\u00e7in <code>\/var\/log\/httpd\/error_log<\/code>, Nginx i\u00e7in <code>\/var\/log\/nginx\/error.log<\/code>) kontrol edin. Bu loglar, sorunun k\u00f6k nedenini belirlemenize yard\u0131mc\u0131 olacakt\u0131r.<\/p>\n<h3>Geri Alma (Gerekirse)<\/h3>\n<p>Her ne kadar dikkatli bir planlama ve test s\u00fcreci izlense de, bazen y\u00fckseltme i\u015flemi beklenmedik sorunlara yol a\u00e7abilir ve geri alma ihtiyac\u0131 do\u011fabilir. Bu nedenle, y\u00fckseltme \u00f6ncesi ald\u0131\u011f\u0131n\u0131z tam yedeklemeler kritik \u00f6neme sahiptir.<\/p>\n<p>1.  <strong>Tam Yedeklemeden Geri Y\u00fckleme:<\/strong><br \/>\n    En g\u00fcvenli geri alma y\u00f6ntemi, y\u00fckseltme \u00f6ncesi ald\u0131\u011f\u0131n\u0131z tam sistem yede\u011fini geri y\u00fcklemektir. Bu, sunucunuzu y\u00fckseltme i\u015flemi hi\u00e7 yap\u0131lmam\u0131\u015f gibi \u00f6nceki durumuna d\u00f6nd\u00fcrecektir. Bu i\u015flem, sunucunuzun b\u00fcy\u00fckl\u00fc\u011f\u00fcne ve yedekleme stratejinize ba\u011fl\u0131 olarak zaman alabilir.<\/p>\n<p>2.  <strong>PHP Paketlerini Geri Alma (Daha Karma\u015f\u0131k):<\/strong><br \/>\n    E\u011fer sadece PHP paketlerini geri almak isterseniz:<br \/>\n    *   \u00d6nce PHP 7 paketlerini kald\u0131r\u0131n:<\/p>\n<pre><code class=\"language-bash\">sudo yum remove php* -y<\/code><\/pre>\n<p>    *   Ard\u0131ndan, REMI deposunu devre d\u0131\u015f\u0131 b\u0131rakman\u0131z ve eski PHP s\u00fcr\u00fcm\u00fcn\u00fcz\u00fcn bulundu\u011fu depoyu etkinle\u015ftirmeniz (veya varsay\u0131lan CentOS deposunu kullanman\u0131z) gerekebilir.<br \/>\n    *   Eski PHP s\u00fcr\u00fcm\u00fcn\u00fc ve uzant\u0131lar\u0131n\u0131 tekrar kurun:<\/p>\n<pre><code class=\"language-bash\"># \u00d6rne\u011fin, e\u011fer PHP 5.6 kullan\u0131yorsan\u0131z ve REMI'de bu s\u00fcr\u00fcm varsa\n        # sudo yum module reset php -y\n        # sudo yum module enable php:remi-5.6 -y\n        # sudo yum install php php-cli php-fpm php-mysql php-gd -y\n\n        # Veya CentOS varsay\u0131lan deposundan eski s\u00fcr\u00fcm\u00fc kurmak i\u00e7in (e\u011fer mevcutsa)\n        # sudo yum --disablerepo=remi install php php-cli php-fpm php-mysql -y<\/code><\/pre>\n<p>    *   Eski <code>php.ini<\/code> ve web sunucusu yap\u0131land\u0131rma dosyalar\u0131n\u0131z\u0131 geri y\u00fckleyin.<br \/>\n    *   PHP-FPM ve web sunucusunu yeniden ba\u015flat\u0131n.<\/p>\n<p>    Bu y\u00f6ntem, tam yedekten geri y\u00fcklemeye g\u00f6re daha riskli ve karma\u015f\u0131kt\u0131r, \u00e7\u00fcnk\u00fc ba\u011f\u0131ml\u0131l\u0131klar ve yap\u0131land\u0131rma farkl\u0131l\u0131klar\u0131 sorun yaratabilir. Bu nedenle, her zaman tam sistem yede\u011fini \u00f6ncelikli geri alma y\u00f6ntemi olarak d\u00fc\u015f\u00fcnmelisiniz.<\/p>\n<h3>Sonu\u00e7<\/h3>\n<p>CentOS 7 \u00fczerinde PHP 7&#8217;ye y\u00fckseltme, web uygulamalar\u0131n\u0131z\u0131n performans\u0131n\u0131 ve g\u00fcvenli\u011fini \u00f6nemli \u00f6l\u00e7\u00fcde art\u0131racak de\u011ferli bir ad\u0131md\u0131r. Bu s\u00fcre\u00e7, dikkatli planlama, ad\u0131m ad\u0131m uygulama ve titiz testler gerektirir. Makalede belirtilen ad\u0131mlar\u0131 takip ederek, sisteminizi g\u00fcvenli bir \u015fekilde g\u00fcncelleyebilir ve PHP 7&#8217;nin sundu\u011fu t\u00fcm avantajlardan faydalanabilirsiniz.<\/p>\n<p>Unutmay\u0131n, her sunucu ve uygulama ortam\u0131 farkl\u0131d\u0131r. Bu rehber genel bir yol haritas\u0131 sunar, ancak kendi spesifik gereksinimlerinize ve mevcut yap\u0131land\u0131rman\u0131za g\u00f6re ayarlamalar yapman\u0131z gerekebilir. Her zaman yedeklemelerinizi al\u0131n ve herhangi bir b\u00fcy\u00fck de\u011fi\u015fiklik yapmadan \u00f6nce bir test ortam\u0131nda deneme yapmay\u0131 d\u00fc\u015f\u00fcn\u00fcn. Ba\u015far\u0131l\u0131 bir y\u00fckseltme sonras\u0131, web siteleriniz ve uygulamalar\u0131n\u0131z daha h\u0131zl\u0131, daha g\u00fcvenli ve daha modern bir PHP ortam\u0131nda \u00e7al\u0131\u015facakt\u0131r.<\/body><\/p>\n","protected":false},"excerpt":{"rendered":"CentOS 7 \u00dczerinde PHP 7&#8217;ye Y\u00fckseltme: Kapsaml\u0131 Bir Rehber\nPHP, web geli\u015ftirme d\u00fcnyas\u0131n\u0131n temel ta\u015flar\u0131ndan biridir ve s\u00fcrekli geli\u015fmektedi","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"csco_page_header_type":"","csco_page_load_nextpost":"","csco_page_subscribe_form":"","csco_page_contact_form":"","footnotes":""},"categories":[241],"tags":[],"class_list":{"0":"post-34195","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-linux","7":"cs-entry","8":"cs-video-wrap"},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.5 (Yoast SEO v25.3.1) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>CentOS 7 \u00dczerinde PHP 7&#039;ye Y\u00fckseltme: Kapsaml\u0131 Bir Rehber - Kodlar\u0131n Gizemli D\u00fcnyas\u0131<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/fatihsoysal.com\/blog\/centos-7-uzerinde-php-7ye-yukseltme-kapsamli-bir-rehber\/\" \/>\n<meta property=\"og:locale\" content=\"tr_TR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"CentOS 7 \u00dczerinde PHP 7&#039;ye Y\u00fckseltme: Kapsaml\u0131 Bir Rehber\" \/>\n<meta property=\"og:description\" content=\"CentOS 7 \u00dczerinde PHP 7&#039;ye Y\u00fckseltme: Kapsaml\u0131 Bir Rehber PHP, web geli\u015ftirme d\u00fcnyas\u0131n\u0131n temel ta\u015flar\u0131ndan biridir ve s\u00fcrekli geli\u015fmektedi\" \/>\n<meta property=\"og:url\" content=\"https:\/\/fatihsoysal.com\/blog\/centos-7-uzerinde-php-7ye-yukseltme-kapsamli-bir-rehber\/\" \/>\n<meta property=\"og:site_name\" content=\"Kodlar\u0131n Gizemli D\u00fcnyas\u0131\" \/>\n<meta property=\"article:published_time\" content=\"2025-11-12T11:40:59+00:00\" \/>\n<meta name=\"author\" content=\"Fatih Soysal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Yazan:\" \/>\n\t<meta name=\"twitter:data1\" content=\"Fatih Soysal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tahmini okuma s\u00fcresi\" \/>\n\t<meta name=\"twitter:data2\" content=\"20 dakika\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/centos-7-uzerinde-php-7ye-yukseltme-kapsamli-bir-rehber\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/centos-7-uzerinde-php-7ye-yukseltme-kapsamli-bir-rehber\/\"},\"author\":{\"name\":\"Fatih Soysal\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"headline\":\"CentOS 7 \u00dczerinde PHP 7&#8217;ye Y\u00fckseltme: Kapsaml\u0131 Bir Rehber\",\"datePublished\":\"2025-11-12T11:40:59+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/centos-7-uzerinde-php-7ye-yukseltme-kapsamli-bir-rehber\/\"},\"wordCount\":3315,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"articleSection\":[\"Linux\"],\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/fatihsoysal.com\/blog\/centos-7-uzerinde-php-7ye-yukseltme-kapsamli-bir-rehber\/#respond\"]}],\"copyrightYear\":\"2025\",\"copyrightHolder\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/centos-7-uzerinde-php-7ye-yukseltme-kapsamli-bir-rehber\/\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/centos-7-uzerinde-php-7ye-yukseltme-kapsamli-bir-rehber\/\",\"name\":\"CentOS 7 \u00dczerinde PHP 7'ye Y\u00fckseltme: Kapsaml\u0131 Bir Rehber - Kodlar\u0131n Gizemli D\u00fcnyas\u0131\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#website\"},\"datePublished\":\"2025-11-12T11:40:59+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/centos-7-uzerinde-php-7ye-yukseltme-kapsamli-bir-rehber\/#breadcrumb\"},\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/fatihsoysal.com\/blog\/centos-7-uzerinde-php-7ye-yukseltme-kapsamli-bir-rehber\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/centos-7-uzerinde-php-7ye-yukseltme-kapsamli-bir-rehber\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Anasayfa\",\"item\":\"https:\/\/fatihsoysal.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"CentOS 7 \u00dczerinde PHP 7&#8217;ye Y\u00fckseltme: Kapsaml\u0131 Bir Rehber\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#website\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/\",\"name\":\"Fatihsoysal.com\",\"description\":\"Blog - Yaz\u0131l\u0131m D\u00fcnyas\u0131 Tecr\u00fcbelerim\",\"publisher\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/fatihsoysal.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"tr\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\",\"name\":\"Fatih Soysal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"tr\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png\",\"contentUrl\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png\",\"width\":512,\"height\":512,\"caption\":\"Fatih Soysal\"},\"logo\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/\"},\"description\":\"Kullan\u0131m ve kodlama m\u00fckemmeliyetini odak alan uygulamalar olu\u015fturma deneyimine sahip, profesyonel olarak 15+ y\u0131l \u00fczeri deneyime sahip bir yaz\u0131l\u0131m m\u00fchendisi.\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/author\/fatihsoysal\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"CentOS 7 \u00dczerinde PHP 7'ye Y\u00fckseltme: Kapsaml\u0131 Bir Rehber - Kodlar\u0131n Gizemli D\u00fcnyas\u0131","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/fatihsoysal.com\/blog\/centos-7-uzerinde-php-7ye-yukseltme-kapsamli-bir-rehber\/","og_locale":"tr_TR","og_type":"article","og_title":"CentOS 7 \u00dczerinde PHP 7'ye Y\u00fckseltme: Kapsaml\u0131 Bir Rehber","og_description":"CentOS 7 \u00dczerinde PHP 7'ye Y\u00fckseltme: Kapsaml\u0131 Bir Rehber PHP, web geli\u015ftirme d\u00fcnyas\u0131n\u0131n temel ta\u015flar\u0131ndan biridir ve s\u00fcrekli geli\u015fmektedi","og_url":"https:\/\/fatihsoysal.com\/blog\/centos-7-uzerinde-php-7ye-yukseltme-kapsamli-bir-rehber\/","og_site_name":"Kodlar\u0131n Gizemli D\u00fcnyas\u0131","article_published_time":"2025-11-12T11:40:59+00:00","author":"Fatih Soysal","twitter_card":"summary_large_image","twitter_misc":{"Yazan:":"Fatih Soysal","Tahmini okuma s\u00fcresi":"20 dakika"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/fatihsoysal.com\/blog\/centos-7-uzerinde-php-7ye-yukseltme-kapsamli-bir-rehber\/#article","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/centos-7-uzerinde-php-7ye-yukseltme-kapsamli-bir-rehber\/"},"author":{"name":"Fatih Soysal","@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"headline":"CentOS 7 \u00dczerinde PHP 7&#8217;ye Y\u00fckseltme: Kapsaml\u0131 Bir Rehber","datePublished":"2025-11-12T11:40:59+00:00","mainEntityOfPage":{"@id":"https:\/\/fatihsoysal.com\/blog\/centos-7-uzerinde-php-7ye-yukseltme-kapsamli-bir-rehber\/"},"wordCount":3315,"commentCount":0,"publisher":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"articleSection":["Linux"],"inLanguage":"tr","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/fatihsoysal.com\/blog\/centos-7-uzerinde-php-7ye-yukseltme-kapsamli-bir-rehber\/#respond"]}],"copyrightYear":"2025","copyrightHolder":{"@id":"https:\/\/fatihsoysal.com\/blog\/#organization"}},{"@type":"WebPage","@id":"https:\/\/fatihsoysal.com\/blog\/centos-7-uzerinde-php-7ye-yukseltme-kapsamli-bir-rehber\/","url":"https:\/\/fatihsoysal.com\/blog\/centos-7-uzerinde-php-7ye-yukseltme-kapsamli-bir-rehber\/","name":"CentOS 7 \u00dczerinde PHP 7'ye Y\u00fckseltme: Kapsaml\u0131 Bir Rehber - Kodlar\u0131n Gizemli D\u00fcnyas\u0131","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/#website"},"datePublished":"2025-11-12T11:40:59+00:00","breadcrumb":{"@id":"https:\/\/fatihsoysal.com\/blog\/centos-7-uzerinde-php-7ye-yukseltme-kapsamli-bir-rehber\/#breadcrumb"},"inLanguage":"tr","potentialAction":[{"@type":"ReadAction","target":["https:\/\/fatihsoysal.com\/blog\/centos-7-uzerinde-php-7ye-yukseltme-kapsamli-bir-rehber\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/fatihsoysal.com\/blog\/centos-7-uzerinde-php-7ye-yukseltme-kapsamli-bir-rehber\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Anasayfa","item":"https:\/\/fatihsoysal.com\/blog\/"},{"@type":"ListItem","position":2,"name":"CentOS 7 \u00dczerinde PHP 7&#8217;ye Y\u00fckseltme: Kapsaml\u0131 Bir Rehber"}]},{"@type":"WebSite","@id":"https:\/\/fatihsoysal.com\/blog\/#website","url":"https:\/\/fatihsoysal.com\/blog\/","name":"Fatihsoysal.com","description":"Blog - Yaz\u0131l\u0131m D\u00fcnyas\u0131 Tecr\u00fcbelerim","publisher":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/fatihsoysal.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"tr"},{"@type":["Person","Organization"],"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1","name":"Fatih Soysal","image":{"@type":"ImageObject","inLanguage":"tr","@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png","contentUrl":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png","width":512,"height":512,"caption":"Fatih Soysal"},"logo":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/"},"description":"Kullan\u0131m ve kodlama m\u00fckemmeliyetini odak alan uygulamalar olu\u015fturma deneyimine sahip, profesyonel olarak 15+ y\u0131l \u00fczeri deneyime sahip bir yaz\u0131l\u0131m m\u00fchendisi.","url":"https:\/\/fatihsoysal.com\/blog\/author\/fatihsoysal\/"}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/34195","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/comments?post=34195"}],"version-history":[{"count":1,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/34195\/revisions"}],"predecessor-version":[{"id":34196,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/34195\/revisions\/34196"}],"wp:attachment":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/media?parent=34195"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/categories?post=34195"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/tags?post=34195"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}