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 Well-Known Member

    2,521
    231
    63
    May 31, 2014
    Ratings:
    +394
    Local Time:
    10:08 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Hi

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

    Thanks
     
  2. eva2000

    eva2000 Administrator Staff Member

    29,016
    6,584
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,774
    Local Time:
    5:08 AM
    Nginx 1.13.x
    MariaDB 5.5
    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
     
    • Like Like x 1