I need some help please... this is driving me nuts!
I've installed apache 2.2 php 5.1 mysql 5 on windows 2000 professional, successfully I might add.
I try to use mysqli and get the error...
Fatal error: Trying to clone an uncloneable object of class mysqli in C:\server\docs\mysqliTest.php on line 2
<?php
$mysqli = new mysqli("localhost", "root", "pass", "db")
or die(mysqli_connect_error());
?>
My phpinfo() says that mysqli and mysql are working....
Please help?
Thanks soooo much NOGDOG. I am forever in your debt!Try setting zend.ze1_compatibility_mode (<!-- m --><a class="postlink" href="http://us3.php.net/manual/en/ini.core.php#ini.zend.ze1-compatibility-mode">http://us3.php.net/manual/en/ini.core.p ... ility-mode</a><!-- m -->) to off in your configuration.You are a good friend, I am in your debt.
Thanks sooooo much!
NickGlad it worked. Be sure to mark the thread as "resolved" if it is. (See the "Thread Tools" drop-down menu at the top of the thread.)
I've installed apache 2.2 php 5.1 mysql 5 on windows 2000 professional, successfully I might add.
I try to use mysqli and get the error...
Fatal error: Trying to clone an uncloneable object of class mysqli in C:\server\docs\mysqliTest.php on line 2
<?php
$mysqli = new mysqli("localhost", "root", "pass", "db")
or die(mysqli_connect_error());
?>
My phpinfo() says that mysqli and mysql are working....
Please help?
Thanks soooo much NOGDOG. I am forever in your debt!Try setting zend.ze1_compatibility_mode (<!-- m --><a class="postlink" href="http://us3.php.net/manual/en/ini.core.php#ini.zend.ze1-compatibility-mode">http://us3.php.net/manual/en/ini.core.p ... ility-mode</a><!-- m -->) to off in your configuration.You are a good friend, I am in your debt.
Thanks sooooo much!
NickGlad it worked. Be sure to mark the thread as "resolved" if it is. (See the "Thread Tools" drop-down menu at the top of the thread.)