Installing Drush on Debian
Installing Drush 5 via apt-get on Debian. Debian offers version 5 even if 6 and 7 is out, but it seems to work good in my case with a Drupal 6 multi site setup.
# start by checking the versions etc you will get by using -s as in simulation
apt-get -s install drush
#install drush for real
apt-get install drush
#check the PHP version and what php.ini file is used to be able to increase memory if needed
I'm running PHP 5.4 and had a special php.ini for CLI so I did not need to create a new php.ini I did change to my standard settings of php.ini:
max_execution_time = 5000
max_input_time = 5000
memory_limit = 1000M
post_max_size = 750M
upload_max_filesize = 750M
Did not not need to change any of these:
magic_quotes_gpc = Off
magic_quotes_runtime = Off
magic_quotes_sybase = Off
or "insure that safe_mode, open_basedir, disable_functions and disable_classes are empty"
- source and installation guide https://github.com/drush-ops/drush
- apt-get commands http://unix.stackexchange.com/questions/6284/check-package-version-using...