PHP Fatal error: Class 'Console_Table' not found in... drush error
User login
Monday, January 31, 2011 - 23:00
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 >= 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