Hello all, Does anybody know where to enter settings for php-fpm? I have tried a number of things, including starting it with "-c /etc/php.ini" but that seemed to have any effect. Any idea on how to control it? What am I doing wrong? :) Thanks in advance. Cheers, Boris.
Carlos A. Carnero Delgado
2016-Aug-03 17:50 UTC
[CentOS] php55w-fpm on CentOS 7: settings location
2016-08-03 13:42 GMT-04:00 Boris Epstein <borepstein at gmail.com>:> Does anybody know where to enter settings for php-fpm? I have tried a > number of things, including starting it with "-c /etc/php.ini" but that > seemed to have any effect. Any idea on how to control it? What am I doing > wrong? :) >In my servers (for shared hosting) there's /etc/php-fpm.conf and the /etc/php-fpm.d/ directory. I make minor modifications to the first file, while put the bulk of settings in .conf files under the second directory. HTH, Carlos.
What I do is create a php.php file on the root of my fileserver with the following <?php phpinfo() ?> then when I browse to that file http://servername/php.php I get all the php information I can stand, including the line "Loaded Configuration File" which is where the running php server loaded php.ini from. Jason