PHP CLI Account Level INI Settings
For one application I need to change some of the PHP values which I really don't want to apply to all the accounts using this version of PHP. This was easy enough to implement using a .user.ini file.
There are some support tasks which run through PHP CLI, via cron, which are not utilizing those custom directives. Short of altering the scripts to use the "php -c" option is there a way to tell the server that when running PHP CLI tasks for a specific account to include a directive file?
Otherwise it looks like I will be left with altering the specific scripts/code or making these changes effective for all accounts that use that version of PHP on that server. Hoping there's a simple setting I've overlooked.
Thank you in advance for any advice,
JP
Please sign in to leave a comment.
Comments
0 comments