PHP Fatal error: Class 'Console_Table' not found in... drush error

After a fresh drush installation, drush status returned this error message:

[konordo@konordo ~]# drush status
<strong>PHP Fatal error:  Class 'Console_Table' not found in drush/path/drush.inc on line 955 </strong>

The solution was to install the php pear extension

[konordo@konordo ~]# pear install Console_Table
Did not download optional dependencies: pear/Console_Color, use --alldeps to download automatically
pear/Console_Table can optionally use package "pear/Console_Color" (version &gt;= 0.0.4)
downloading Console_Table-1.1.4.tgz ...
Starting to download Console_Table-1.1.4.tgz (9,369 bytes)
.....done: 9,369 bytes
install ok: channel://pear.php.net/Console_Table-1.1.4

[konordo@konordo ~]# drush status
PHP configuration     :  /etc/php.ini
Drush version         :  All-versions-3.0

All done :)

Tags: 
Drupal Quick Tips, Server configuration, CentOS, Drush

Recent Comments

Forward by Dries Buytaert, Founder and Project Lead, Drupal; CTO Acquia.

Order now from:

Managing Expectations Podcast with DrupalEasy

Author Interview http://tinyurl.com/8a8nxno

We provide the most Shiny Drupal Bits & Pixels

Since Drupal 4.x