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

    3,947
    400
    83
    May 31, 2014
    Ratings:
    +779
    Local Time:
    12:20 PM
    Nginx-1.17.x
    MariaDB 10.3.x
    Hi

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

    Thanks

     
  2. eva2000

    eva2000 Administrator Staff Member

    47,287
    10,697
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,621
    Local Time:
    7:20 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    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