Want to subscribe to topics you're interested in?
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:
    +161
    Local Time:
    9:49 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:
    3:49 PM
    It's set at compile time :p

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

    eva2000 Administrator Staff Member

    27,694
    6,324
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,320
    Local Time:
    11:49 PM
    Nginx 1.13.x
    MariaDB 5.5
    @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/
     
    • Like Like x 1