Topic: Different php.ini for cli and fpm
Hi all,
Is it possible to have two different php.ini's -- one for cli and another for fpm? How would I do this?
I'm guessing the proper way is to override the php.ini location in FPM's pool config?
You are not logged in. Please login or register.
Please STOP WAR NOW! | |
For proper configuration and installation, please use the Configuration Wizard |
Versions: PHP ≤ 8.0 is EOL - PHP 8.1.28 - PHP 8.2.18 - PHP 8.2.19RC1 - PHP 8.3.6 - PHP 8.3.7RC1
More information: #remirepo IRC channel - Twitter: @RemiRepository - Discord server
Remi's RPM repository - Forum → User support → Different php.ini for cli and fpm
Hi all,
Is it possible to have two different php.ini's -- one for cli and another for fpm? How would I do this?
I'm guessing the proper way is to override the php.ini location in FPM's pool config?
For FPM, simply put the configuration directives in pool configuration file
For CLI, you can use the php-cli.ini
Else you can also use the PHPRC environment to set ini path
Remi's RPM repository - Forum → User support → Different php.ini for cli and fpm
Generated in 0.004 seconds (59% PHP - 41% DB) with 9 queries
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 2 official extensions. Copyright © 2003–2009 PunBB.