note 45848 rejected from function.mysqli-select-db by betz

From: Date: Mon, 08 Nov 2004 00:16:59 +0000
Subject: note 45848 rejected from function.mysqli-select-db by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-80255@lists.php.net to get a copy of this message
Note Submitter: miguel dot simoes at almadanet dot com ---- When using Zend Compatibility Mode, you'll not be able to use MySQLi as you would like. Each time you try to create a new object you'll get: "Fatal error: Trying to clone an uncloneable object of class mysqli in XXX". In order to use the mysqli objects you'll need to deactivate Zend Compatibility mode before calling the connect procedure: ini_set('zend.ze1_compatibility_mode', 0); $mysqli = new mysqli(hostname,username,password,[database]); ** Issue happening under Unix and Windows OS.

« previous php.notes (#80255) next »