Join the community today
Become a Member

PHP-FPM Extensions

Discussion in 'Centmin Mod Insights' started by dorobo, Jun 8, 2014.

  1. dorobo

    dorobo Active Member

    420
    104
    43
    Jun 6, 2014
    Ratings:
    +162
    Local Time:
    12:48 PM
    latest
    latest
    Which setting tells php-fpm to look inside


    /etc/centminmod/php.d

    for extensions?

    It's not inside php.ini is it, because I tried searching for the word "centminmod" and it's not found.
     
  2. Lundz

    Lundz Member

    42
    6
    8
    May 28, 2014
    Ratings:
    +7
    Local Time:
    6:48 AM
    It's set at compile time :p

    Otherwise you can look for include ini paths :p
     
  3. eva2000

    eva2000 Administrator Staff Member

    53,537
    12,134
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,677
    Local Time:
    2:48 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    @dorobo as @Lundz stated it's set at PHP compile time via PHP ./configure specifically via this option shown in /inc/php_configure.inc line 124 and 130 for .07 beta 21 at https://github.com/centminmod/centminmod/blob/123.07beta21/inc/php_configure.inc#L124

    Code:
    --with-config-file-scan-dir=${CONFIGSCANDIR}
    You can see an example of how I compiled additional PHP extensions within their own *.ini files within /etc/centminmod/php.d at https://community.centminmod.com/th...a-only-caching-with-php-5-5-zend-opcache.101/