My ISP has upgraded our environment to php 5 and I'm interested in using mysqli. I can ssh into the .ini files and I've added
extension=mysqli.so
to the mysql.ini file.

I've restarted apache but I'm stilling getting the later "MySQLi is not installed" when I run this piece of code:

if(function_exists("mysqli_connect")) { 
   echo "MySQLi is installed!"; 
} else { 
   echo "MySQLi is not installed..."; 
}

Is there a way to manually add this mysqli extension in after I've installed/compliled php5? Or must I reinstall?

Many thanks.

    mysqli is bundled with PHP; it is a compile-time option and can be built either permanently in, or as a .so

    In either case, your provider will need to enable it.

    Mark

      Write a Reply...