Hello,
I`ve just installed Drush 8 with the method recommended on the official website ( drush.phar ):
Last time I installed drush I used composer and for that method I could add the php.ini values into the drush.ini, now I do not understand how to pass custom php values: for example in my php.ini exec() has been disabled for security reasons , I`d like to permanently enable exec() only for Drush:
In the instructions i can see:
If you need to pass custom php.ini values, run php -d foo=bar drush.phar --php-options=foo=bar
so I tried to run
php -d disable_functions= /usr/local/bin/drush status --php-options=disable_functions
and the response is:
PHP configuration : /opt/cpanel/ea-php71/root/etc/php.ini
PHP OS : Linux
Drush script : /usr/local/bin/drush
Drush version : 8.1.17
Drush temp directory : /tmp
Drush configuration :
Drush alias files :
so the warnig abouth the disabled exec function disappeared, but it is only temporary, the next time I have to rewrite it all over again.
Drupal version:
Source: https://www.drupal.org/taxonomy/term/2/feed