Site, Server Genel » Makaleler

APC Cache Kurulumu

Geri git   WHM cPanel Destek Platformu » Site, Sunucu Sorunlarınız ve Çözümleri » Site, Server Genel » Makaleler
Kayıt ol Yardım Üye Listesi Ajanda Forumları Okundu Kabul Et
 
Cevapla
 
LinkBack Seçenekler Stil
  #1 (permalink)  
Alt 26.06.07, 01:32 AM
Fesih BICER - ait Kullanıcı Resmi (Avatar)
SysAdmin
 
Üyelik tarihi: Jun 2007
Nerden: Çorlu
Yaş: 28
Mesajlar: 584
Tecrübe Puanı: 1091
Fesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond repute
Fesih BICER - MSN üzeri Mesaj gönder
APC Cache Kurulumu

Kod:
cd /usr/local/src
Kod:
wget http://pecl.php.net/get/APC-3.0.14.tgz
dosyaları aşağıdaki komut ile çıkartınız:

Kod:
gunzip -c APC-3.0.14.tgz | tar xf -
Kod:
cd APC-3.0.14
Kod:
/usr/bin/phpize
Kod:
./configure --enable-apc --enable-apc-mmap --with-apxs=/usr/local/apache/bin/apxs --with-php-config=/usr/bin/php-config
Kod:
make
Kod:
make install


php.ini dosyasını pico, vi veya nano ile açıp aşağıdaki satırı buluyoruz
ctrl w tıklayıp arayın
Kod:
;Windows Extensions
bu satırın hemen üstüne ekleyin bu kodu ekleyin
Kod:
extension="/usr/lib/php/extensions/no-debug-non-zts-20020429/apc.so"
apc.shm_size = 32
php.ini dosyasını kayıt edip çıkıyoruz (ctrl x y)ve Apache sunucusunu APC aktif olması için yeniden başlatıyoruz.

Kod:
/etc/rc.d/init.d/httpd stop
/etc/rc.d/init.d/httpd start
phpinfo.php dosyasından bakıyoruz APC kurulmuşmu diye

/usr/local/src/APC-3.0.14 içindeki apc.php dosyasını sizin ftp hesabınıza atayım. ordan bakabilesiniz diye. gerektiğinde yine ordan çerezleri silebilirsiniz.

Kod:
cp apc.php  /home/netlojik/public_html
şimdi
Kod:
pico /home/netlojik/public_html/apc.php
diyelim ve üst satırlarda kullanıcı adı ve şifre yazar onu değiştirip kaydedelim

ctrl x y
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #2 (permalink)  
Alt 26.06.07, 01:39 AM
Fesih BICER - ait Kullanıcı Resmi (Avatar)
SysAdmin
 
Üyelik tarihi: Jun 2007
Nerden: Çorlu
Yaş: 28
Mesajlar: 584
Tecrübe Puanı: 1091
Fesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond repute
Fesih BICER - MSN üzeri Mesaj gönder
Sunucunuzda AWBS gibi şifrelenmiş php scriptler varsa Bu tür scriptleriniz çalışmaz. şimdiden hatırlayayım.

Eklentiyi iptal ekmek isterseniz

php.ini dosyasına eklediğiniz satırları kaldırıp apache'yi yeniden başlatmanız yeterlidir.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
Cevapla



Seçenekler
Stil

Yetkileriniz
Yeni Mesaj yazma yetkiniz aktif değil dir.
Mesajlara Cevap verme yetkiniz aktif değil dir.
Eklenti ekleme yetkiniz aktif değil dir.
Kendi Mesajınızı değiştirme yetkiniz aktif değil dir.

Smileler Açık
[IMG] Kodları Açık
HTML-KodlarıKapalı
Trackbacks are Açık
Pingbacks are Açık
Refbacks are Açık




Saat Dilimimiz:GMT +2.Saatimiz:05:47 AM.