Learn about Centmin Mod LEMP Stack today
Become a Member

PHP-FPM APC config

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by pamamolf, Jun 25, 2014.

  1. pamamolf

    pamamolf Premium Member Premium Member

    4,074
    427
    83
    May 31, 2014
    Ratings:
    +833
    Local Time:
    5:22 AM
    Nginx-1.25.x
    MariaDB 10.3.x
    Hi

    Where apc config located so i can increase the cache size?


    Thanks
     
  2. eva2000

    eva2000 Administrator Staff Member

    54,098
    12,177
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,735
    Local Time:
    1:22 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    They're located in individual ini files like apc.ini to find them type

    Code:
    php --ini
    
    you'll get output like where apc.ini is at /etc/centminmod/php.d/apc.ini
    Code:
    Configuration File (php.ini) Path: /usr/local/lib
    Loaded Configuration File:         /usr/local/lib/php.ini
    Scan for additional .ini files in: /etc/centminmod/php.d
    Additional .ini files parsed:      /etc/centminmod/php.d/apc.ini,
    /etc/centminmod/php.d/geoip.ini,
    /etc/centminmod/php.d/igbinary.ini,
    /etc/centminmod/php.d/imagick.ini,
    /etc/centminmod/php.d/memcache.ini,
    /etc/centminmod/php.d/memcached.ini,
    /etc/centminmod/php.d/zendopcache.ini