example.drush.ini 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. ;
  2. ; Example of a drush php settings override file
  3. ;
  4. ; IMPORTANT: Before following the instructions in
  5. ; this file, first check to see that the cli version
  6. ; of php is installed on your system. (e.g. On
  7. ; debian systems, `sudo apt-get install php5-cli`.)
  8. ;
  9. ; Use this file in instances when your system is
  10. ; -not- configured to use separate php.ini files for
  11. ; webserver and cli use. You can determine which
  12. ; php.ini file drush is using by running "drush status".
  13. ; If the php.ini file shown is your webserver ini
  14. ; file, then rename this file, example.drush.ini,
  15. ; to drush.ini and copy it to one of the following
  16. ; locations:
  17. ;
  18. ; 1. Drush installation folder
  19. ; 2. User's .drush folder (i.e. ~/.drush/drush.ini)
  20. ; 3. System wide configuration folder (i.e. /etc/drush/drush.ini)
  21. ;
  22. ; When in use, the variables defined in this file
  23. ; will override the setting values that appear in
  24. ; your php.ini file. See the examples below for
  25. ; some values that may need to be set in order for
  26. ; drush to work.
  27. ;
  28. ; NOTE: There is a certain amount of overhead
  29. ; required for each override, so drush.ini should
  30. ; only be used for a relatively small number
  31. ; of variables. Comment out any variable that
  32. ; has the same value as the webserver php.ini
  33. ; to keep the size of the override list small.
  34. ;
  35. ; To fully specify the value of all php.ini variables,
  36. ; copy your webserver php.ini file to one of the
  37. ; locations mentioned above (e.g. /etc/drush/php.ini)
  38. ; and edit it to suit.
  39. ;
  40. ; The options listed below are particularly relevant
  41. ; to drush.
  42. ;
  43. ;
  44. ; drush needs as much memory as Drupal in order
  45. ; to run; make the memory limit setting match
  46. ; what you have in your webserver's php.ini.
  47. ;
  48. memory_limit = 128M
  49. ;
  50. ; Show all errors and direct them to stderr
  51. ; when running drush.
  52. ;
  53. error_reporting = E_ALL | E_NOTICE | E_STRICT
  54. display_errors = stderr
  55. ;
  56. ; If your php.ini for your webserver is too
  57. ; restrictive, you can re-enable functionality
  58. ; for drush by adjusting values in this file.
  59. ;
  60. ; Here are some examples of settings that are
  61. ; sometimes set to restrictive values in a
  62. ; webserver's php.ini:
  63. ;
  64. ;safe_mode =
  65. ;open_basedir =
  66. ;disable_functions =
  67. ;disable_classes =