Platform: OpenSuSE 10.1, Apache 2.2, PHP 5.2
When chosen mysqli in the first step of setting up 5.0 beta 2, if Zend 1 compatibility mode is on it gives a fatal error:
Trying to clone an uncloneable object of class mysqli in /path/to/drupal5.0/includes/install.mysqli.inc on line 36

This is a problem with PHP5 directive more than a Drupal bug, but setting an error handler will be a good idea.

Comments

mathiasm’s picture

it still does that on Drupal 6.
After an unresponsed post in the forum, google lead me there.

Fedora 4, PHP 5.0.4, mySql 4.1.1

ceo_kal’s picture

sorry for kicking an old msg.. but i'm still having this problem with 6.2. Any one knows what to do?

john spain’s picture

My configuration: xampp for windows 1.1.6a, Apache PHP version 5.2.5, MySQL API 5.0.51a

Situation: Installing Drupal 6.3.

My workaround: Set "zend.ze1_compatibility_mode = off" in Apache's php.ini file. Then refresh the browser page (from Drupal's installation script) that displayed the error. Installation ran OK then.

owahab’s picture

Version: 4.7.4 » 6.x-dev
Component: base system » install system
Priority: Minor » Normal

Pumping issue version according to #3.

safetypin’s picture

Version: 6.x-dev » 6.16

I just got this error with version 6.16. Is the workaround in #3 the only solution?

codewaggle’s picture

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

Status: Active » Closed (outdated)

Automatically closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.