I just started following the tutorial on drupal.org:
Specific instructions for installing Drush on different platforms
Since I'm using CentOS I picked the Install Drush on CentOS (with H-Sphere)
But then when I tried to run drush after install I got some errors.
The first one I got was: "exec() has been disabled for security reasons"
After I fixed that one I got:
"The following restricted PHP modes have non-empty values: [error] disable_functions. This configuration is incompatible with drush."
Both errors can be fixed by putting this in the command line on the server:
# mkdir -p ~/.drush # cp -i /usr/local/lib/php.ini ~/.drush/ # nano ~/.drush/php.ini
Then find the "disable_functions" string and make it is empty:
disable_functions =save the php.ini file and drush should be working now :)