2 ; Example of a drush php settings override file.
4 ; IMPORTANT: This file has no effect when using
5 ; drush.phar. It is only effective when used
6 ; a Composer built Drush is used. When a drush.phar
7 ; hands off execution to a Composer built Drush,
8 ; this file is effective.
10 ; IMPORTANT: Before following the instructions in
11 ; this file, first check to see that the cli version
12 ; of php is installed on your system. (e.g. On
13 ; debian systems, `sudo apt-get install php5-cli`.)
15 ; Use this file in instances when your system is
16 ; -not- configured to use separate php.ini files for
17 ; webserver and cli use. You can determine which
18 ; php.ini file drush is using by running "drush status".
19 ; If the php.ini file shown is your webserver ini
20 ; file, then rename this file, example.drush.ini,
21 ; to drush.ini and copy it to one of the following
24 ; 1. Drush installation folder
25 ; 2. User's .drush folder (i.e. ~/.drush/drush.ini)
26 ; 3. System wide configuration folder (i.e. /etc/drush/drush.ini)
28 ; If the environment variable DRUSH_INI is defined,
29 ; then the file it specified will be used as drush.ini.
31 ; export DRUSH_INI='/path/to/drush.ini'
33 ; When in use, the variables defined in this file
34 ; will override the setting values that appear in
35 ; your php.ini file. See the examples below for
36 ; some values that may need to be set in order for
39 ; NOTE: There is a certain amount of overhead
40 ; required for each override, so drush.ini should
41 ; only be used for a relatively small number
42 ; of variables. Comment out any variable that
43 ; has the same value as the webserver php.ini
44 ; to keep the size of the override list small.
46 ; To fully specify the value of all php.ini variables,
47 ; copy your webserver php.ini file to one of the
48 ; locations mentioned above (e.g. /etc/drush/php.ini)
49 ; and edit it to suit. Alternately, you may use
50 ; the environment variable PHP_INI to point at
51 ; the file that Drush should use.
53 ; export PHP_INI='/path/to/php.ini'
55 ; The options listed below are particularly relevant
60 ; drush needs as much memory as Drupal in order
61 ; to run; make the memory limit setting match
62 ; what you have in your webserver's php.ini.
67 ; Show all errors and direct them to stderr
70 error_reporting = E_ALL | E_NOTICE | E_STRICT
71 display_errors = stderr
74 ; If your php.ini for your webserver is too
75 ; restrictive, you can re-enable functionality
76 ; for drush by adjusting values in this file.
78 ; Here are some examples of settings that are
79 ; sometimes set to restrictive values in a
80 ; webserver's php.ini: