PHP 5.5 sonrasında APC Cache PHP'nin core'una opcache olarak dahil edilmiş
ve sonlandırılmış.

phpinfo()'da opcache hitlerini alabildiğimi gördüm :)



   1. The last PHP version that had the php_apc extension included in was
   PHP 5.3. ** Newer versions of PHP have replaced APC with php_opcache.*
   2. The last APC release was php_apc 3.1.14, and while it worked with PHP
   5.5, it was immediately removed due to some serious memory issues that
   could not be fixed. ** php_apc 3.1.14 is not available anywhere, it was
   removed from all official sources.*
   3. The only available release of APC is 3.1.13, and while it’s for both
   PHP 5.3 and 5.4, it’s only non-beta for 5.3 (i.e., not recommended for PHP
   5.4).** php_apc 3.1.13 will not work with PHP 5.5+.*



Özgür Koca
[tankado.com][raspberry-pi.tankado.com]


<http://www.facebook.com/zerostoheroes/>

2016-04-21 13:35 GMT+03:00 Özgür KOCA <[email protected]>:

> Merhaba Liste,
>
> Bir nginx fpm-php (fastcgi modda) yapılandırması gerçekleştirdim. Fakat
> APC çalışmıyor sanki. phpinfo yapılandırmasında APC enabled durumda:
>
> *Configuration*
>
> *apc*
>
> *APC support Emulated*
> *apcu*
>
> *APCu Support Enabled*
> *Version 4.0.7*
> *APCu Debugging Disabled*
> *MMAP Support Enabled*
> *MMAP File Mask no value*
> *Serialization Support php*
> *Revision $Revision: 328290 $*
> *Build Date Nov 3 2014 08:43:37*
> *Directive Local Value Master Value*
> *apc.coredump_unmap Off Off*
> *apc.enable_cli Off Off*
> *apc.enabled On On*
> *apc.entries_hint 4096 4096*
> *apc.gc_ttl 3600 3600*
> *apc.mmap_file_mask no value no value*
> *apc.preload_path no value no value*
> *apc.rfc1867 Off Off*
> *apc.rfc1867_freq 0 0*
> *apc.rfc1867_name APC_UPLOAD_PROGRESS APC_UPLOAD_PROGRESS*
> *apc.rfc1867_prefix upload_ upload_*
> *apc.rfc1867_ttl 3600 3600*
> *apc.serializer php php*
> *apc.shm_segments 1 1*
> *apc.shm_size 32M 32M*
> *apc.slam_defense On On*
> *apc.smart 0 0*
> *apc.ttl 7200 7200*
> *apc.use_request_time On On*
> *apc.writable /tmp /tmp*
>
>
> PHP-APC ile beraber gelen apc.php ile APC'nin durumuna göz attığımda Hits
> değeri 0 ve User Cache Entries sürekli boş durumda. Bir nedenden ötürü
> APC'nin çalışmadığın düşünüyorum. Sunucuda kendi yazdımğım PHP betikleri ve
> PMA çalışır durumda ama APC'nin cache'i sürekli boş ve Hit değeri 0
> gözüküyor!
>
> Sorun nasıl çözebilirim?
>
> Teşekkürler.
>
> Özgür Koca
> [tankado.com][raspberry-pi.tankado.com]
>
>
> <http://www.facebook.com/zerostoheroes/>
>
_______________________________________________
Linux-sohbet mailing list
[email protected]
https://liste.linux.org.tr/mailman/listinfo/linux-sohbet
Liste kurallari: http://liste.linux.org.tr/kurallar.php

Cevap