PDA

View Full Version : how to enable mysqli?



kevinnet
Sat 5th Jan '08, 10:53pm
i'm using mysql 4+ and php 5
for database type: i enter "mysqli", uploaded the config file and receive this error msg:

Fatal error: Call to undefined function mysqli_init() in /home/domain/public_html/forum/includes/class_core.php on line 1067


am i missing something?

in config.php there's a setting for mysqli
$config['Mysqli']['ini_file'] = '';

but i'm not sure what to enter there? do i need to create a "my.ini" file and upload somewhere to my server?

thanks.

Andy Huang
Sun 6th Jan '08, 1:47am
MySQLi needs to be compiled into your php at time of installation, or have the dll enabled php.ini for windows servers. For details about this, please check PHP's guide:
http://www.php.net/mysqli