wyveo / nginx-php-fpm

Nginx + PHP-FPM 8.2.x / 8.1.x / 8.0.x / 7.4.x / 7.3.x / 7.2.x / 7.1.x / 7.0.x + Composer built on Debian (Bullseye/Buster) image
https://hub.docker.com/r/wyveo/nginx-php-fpm
MIT License
345 stars 249 forks source link

php.ini changes done aren't reflected #9

Closed shehanster closed 4 years ago

shehanster commented 4 years ago

Even though the php file is set as php_conf=/etc/php/7.4/fpm/php.ini the loaded configuration file is as follows php -i | grep 'Loaded Configuration File' Loaded Configuration File => /etc/php/7.4/cli/php.ini

how can we fix this?

colinwilson commented 4 years ago

This is the configuration loaded from/for the CLI. nginx (or apache) will load the /etc/php/7.4/fpm/php.ini configuration file. See here for details on how to check which config is loaded.