Download & Extend

zend.ze1_compatibility_mode issue

Project:Drush
Version:All-Versions-2.1
Component:Installation
Category:bug report
Priority:minor
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

On a Ubuntu 9.04 system when I run: "drush status" in a working drupal directory I get the following error:

Fatal error: Cannot clone object of class PDO due to 'zend.ze1_compatibility_mode' in /usr/local/lib/drush/includes/environment.inc on line 835
Drush command could not be completed. [error]

I have set zend.ze1_compatibility_mode to on and off but get the same error each time. The line that it is complaining about is:
$db = new PDO($constr, $creds['user'], $creds['pass']);

I verified the parameters and to the best of my knowledge all they are correct.

Comments

#1

Priority:normal» minor
Status:active» postponed (maintainer needs more info)

no idea. needs research by someone who is interested in this.

#2

Status:postponed (maintainer needs more info)» closed (fixed)

No feedback. Please re-open with more information if needed.

#3

If you're using PHP 5.3.x you can try removing the zend.ze1_compatibility_mode line from the .ini file, it is no longer a valid directive.

From the PHP manual:
http://php.net/manual/en/ini.core.php

Name
zend.ze1_compatibility_mode

Default
"0"

Changeable
PHP_INI_ALL

Changelog
Available since PHP 5.0.0. Removed in PHP 5.3.0

nobody click here