Skip to content Skip to navigation

drush and PHP errors on the corns

Posted by: 
Topics: 

The latest version of PHP on the corn servers (PHP 5.5.3 as of June, 2014) generates PHP strict error warnings when trying to use drush with Drupal.

To get around that issue, add the following line of code at the top of your settings.php file (right after the <?php opening statement):

ini_set('error_reporting', '0');