Join the community 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

    3,072
    293
    83
    May 31, 2014
    Ratings:
    +524
    Local Time:
    8:03 AM
    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

    33,648
    7,448
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,449
    Local Time:
    3:03 PM
    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
..