I've installed drush on ubuntu 14.04 apparently successfully but attempting to use drush within my drupal 7 app yields this:
PHP Fatal error: Call to undefined function ctype_alnum() in /home/sam/.phpbrew/php/php-5.4.34/lib/php/drush/includes/command.inc on line 896
OK, I'm still new at PHP but apparently my php 5.4.34 installed via phpbrew is calling it? From reading about this function on PHP I see that it's part of PHP 5.4. That said, it does not show up in my phpinfo() page. Looking around the web the few times I see this as an issue seems an issue with certain modules. My code using the drush installed on OS X shows no problems so perhaps it's not my code?
Ubuntu didn't seem to report errors on install and I'm not sure if I need to install some extension to my php or if there's something wrong with my code. Help me see where I need to fix this? thx, sam