Basically, I need to override a critical value in php.ini. The behavior of the command line PHP is to use the first php.ini it detects and no others.
Any ideas? Can command line php simply not use ini files in a cascading fashion?
Note, this is the value:
auto_prepend_file=...
My command line is as follows:
php -c path\to\main\ini;path\to\special\ini -f thescript.php
You can always override selected ini values with the -d
switch:
php -c path\to\php.ini -d auto_prepend_file=C:\prepend.php -f thescript.php